Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install pyofss

How to install pyofss

  1. Download and install ActivePython
  2. Buy and install the Business Edition license from account.activestate.com
  3. Open Command Prompt
  4. Type pypm install pyofss

pyofss contains builds that are only available via PyPM when you have a current ActivePython Business Edition subscription.

 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.8
0.8 Available View build log
0.5 Available View build log
0.4 Available View build log
Windows (64-bit)
0.5
0.8Never BuiltWhy not?
0.5 Available View build log
0.4 Available View build log
Mac OS X (10.5+)
0.5
0.8Never BuiltWhy not?
0.5 Available View build log
0.4 Available View build log
Linux (32-bit)
0.6
0.8Never BuiltWhy not?
0.6 Available View build log
0.5 Available View build log
0.4 Available View build log
Linux (64-bit)
0.6
0.8Never BuiltWhy not?
0.6 Available View build log
0.5 Available View build log
0.4 Available View build log
 
License
GNU GPL
Depended by

Pyofss allows construction of an optical fibre system from separate modules. A typical system consists of a Gaussian pulse generator module and an optical fibre module. The field generated is propagated through the fibre by numerical integration of an appropriate Schrödinger-type equation.

Simulated effects include that of dispersion (second, third, and higher order), attenuation, self-phase modulation, self-steepening, and Raman scattering. Resulting field profiles (including multiple traces for the fibre module) can be visualised using a range of plot types. These include standard x-y plots, top-down "map" plots, three-dimensional "waterfall" plots, and animation videos.

Installation

Pyofss is available on PyPI and can be retrieved using the pip program:

System Message: ERROR/3 (<string>, line 19)

Unknown directive type "code-block".

.. code-block:: bash

   sudo aptitude install python-pip
   pip install pyofss

Then import pyofss within scripts or in an interactive session:

System Message: ERROR/3 (<string>, line 26)

Unknown directive type "code-block".

.. code-block:: pycon

   >>> import pyofss

Dependencies

Pyofss depends on Numpy, Scipy, and Matplotlib. They can be installed on Linux distributions using aptitude:

System Message: ERROR/3 (<string>, line 36)

Unknown directive type "code-block".

.. code-block:: bash

   sudo aptitude install python-numpy python-scipy python-matplotlib

Note

The recommended dependency versions are listed in the requirements.txt file within the pyofss package. Install each of these dependencies using pip:

System Message: ERROR/3 (<string>, line 45)

Unknown directive type "code-block".

.. code-block:: bash

   pip install -r requirements.txt

Development

It is recommended to install pyofss into a virtual environment, which can be initialised using:

System Message: ERROR/3 (<string>, line 54)

Unknown directive type "code-block".

.. code-block:: bash

   sudo aptitude install python-virtualenv
   sudo pip install virtualenvwrapper
   mkvirtualenv pyofss
   workon pyofss

Pyofss dependencies can then be satisfied using:

System Message: ERROR/3 (<string>, line 63)

Unknown directive type "code-block".

.. code-block:: bash

   pip install numpy
   pip install scipy
   sudo aptitude build-dep python-matplotlib
   pip install matplotlib

Install the latest development version of pyofss from GitHub:

System Message: ERROR/3 (<string>, line 72)

Unknown directive type "code-block".

.. code-block:: bash

   pip install git+https://github.com/daibo/pyofss.git

Tests

Tests can be run within the pyofss package:

System Message: ERROR/3 (<string>, line 81)

Unknown directive type "code-block".

.. code-block:: bash

   python setup.py test

Subscribe to package updates

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.