Skip to main content

Optical fibre system simulator

Project description

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) may 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

Warning

Some of the following commands may require superuser privileges. Use:

$ sudo command

or:

$ su root

then run the commands.

Always be cautious when running with enhanced privileges!

Pyofss is available on Pypi and may be retrieved using the pip program:

$ aptitude install pip
$ pip install pyofss
Then import pyofss within scripts or in an interactive session:
>>> from pyofss import *

Note

If the required dependencies are not satisfied when installing pyofss, then manually install using either:

$ aptitude install python-numpy python-scipy python-matplotlib

or:

$ pip install numpy scipy matplotlib

The recommended versions are listed in the “requirements.txt” file within the pyofss package. Using this file, it is possible to automatically install all dependencies:

$ pip install -r requirements.txt

Project details


Release history Release notifications

History Node

0.9

This version
History Node

0.8

History Node

0.7

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
pyofss-0.8.tar.gz (401.5 kB) Copy SHA256 hash SHA256 Source None Sep 8, 2012

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page