Commit Graph

100 Commits

Author SHA1 Message Date
James Powell
c9ece6ad7c use scipy.constants 2018-03-20 22:44:17 -04:00
James Powell
a6265c1b8d document modules 2018-03-20 21:32:02 -04:00
James Powell
5646714c13 small setup.py fixes 2018-03-16 16:45:18 -04:00
James Powell
8ab13537a9 prettier printing 2018-03-15 19:09:29 -04:00
James Powell
25e14e4846 fixed __repr__
__repr__ "should look like a valid Python expression that could be used
to recreate an object with the same value" - https://docs.python.org/3/reference/datamodel.html#object.__repr__
2018-03-15 18:29:26 -04:00
James Powell
55d67f890d clean up examples/ directory 2018-03-15 15:52:39 -04:00
James Powell
9b3d7614f5 remove unused network files 2018-03-15 15:50:17 -04:00
James Powell
a3273d24b5 doc fixes 2018-03-15 14:46:24 -04:00
James Powell
ffd7bec485 docs fix 2018-03-15 14:42:36 -04:00
James Powell
0aef76407d small documentation fixes 2018-03-15 14:35:34 -04:00
James Powell
f2ad236863 fix authors 2018-03-15 14:26:16 -04:00
James Powell
487237638e Merge branch 'develop' 2018-03-15 14:25:26 -04:00
James Powell
3a78ccafce add AUTHORS.rst 2018-03-15 14:18:34 -04:00
James Powell
e99b9c286c first release v0.1.0 0.1.0 2018-03-14 20:14:30 -04:00
James Powell
8c3ffdfd4e fix spelling 2018-03-12 18:19:29 -04:00
James Powell
a4c7395cfe updated readme 2018-03-12 14:43:58 -04:00
James Powell
398124e841 enable graphing of result 2018-03-12 14:43:58 -04:00
James Powell
07cc3fc079 add location metadata 2018-03-12 14:43:58 -04:00
James Powell
27bae162d6 remove non-CONUS elements 2018-03-12 14:43:58 -04:00
James
d4392e5a7a Create LICENSE (#42) 2018-03-12 14:43:58 -04:00
Jean-Luc Augé
a0aab0918a README.rst Instructions and tests path for CI (#41)
* clean transmission_main_example.py

Signed-off-by: Jean-Luc Auge <jeanluc.auge@orange.com>

* Add Instructions in README.rst and pytest path for CI

Instructions to run transmission_main_example.py
change config files path in ampliier_test to enable
Travis CI build

Signed-off-by: Jean-Luc Auge <jeanluc.auge@orange.com>
2018-03-12 14:43:58 -04:00
Jean-Luc Augé
2461385a94 add Roadm, coronet_conus support and amplifier pytests (#35)
* Add EDFA unitary pytests

check nf calculation, nf models comparison, ase noise profile
elements.py edfa _gain_profile: add div 0 checks when no ripple

Signed-off-by: Jean-Luc Auge <jeanluc.auge@orange.com>

* support of coronet.conus network and add class __repr__

adaptation of convert.py to new code json formating
add_egress_amplifier, split_fiber and calculate_new_length
subs in network.py
elements.py:
code cleaning
adding new attributes in Edfa class (pin_db, pout_db...)
adding or augmenting class __repr__

Signed-off-by: Jean-Luc Auge <jeanluc.auge@orange.com>

* augment amplifier unitary tests and code cleaning

add new tests in amplifier_test.py for pytest
Edfa class code cleaning in elements.py
recheck code coherence and results

Signed-off-by: Jean-Luc Auge <jeanluc.auge@orange.com>

* ROADM support in network.py, convert.py, coronet json, ROADM class

creation of a ROADM class with 20dB loss
convert.py json parser modification to include roadms
network.py modification to automate amplifier placing after roadm
elements.py inclusion of Roadm class

Signed-off-by: Jean-Luc Auge <jeanluc.auge@orange.com>
2018-03-12 14:43:58 -04:00
Mattia Cantono
ba06a0e104 Add NLI Evaluation in Fiber class (#33)
* Add Travis-CI configuration for continous integration
* Add GN-Model Documentation and auto-doc integration
* Add GN model to Fiber
* Unit of measure conversion adapted to SI
2018-02-28 11:53:58 -05:00
GGrammel
48f9c448e4 Merge branch 'develop' of https://github.com/Telecominfraproject/gnpy into develop 2018-02-20 20:26:46 +01:00
GGrammel
2e0d01bc0b Added some TExt about TIP, OOPT, PSE 2018-02-20 20:26:16 +01:00
Jean-Luc Augé
0d3a86f1d8 code wrap up and edfa model augmentation v2 (#30)
* JSON file based on Orange operator typical input
Signed-off-by: Jean-Luc Auge <jeanluc.auge@orange.com>

* update of the standalone edfa model

creation of a new amlifier2.py = v2
creation of a json parser build_oa_json.py
the parser takes OA.json as input and newOA.json as output
creation of a pytest verification module amplifier_pytest.py

Signed-off-by: Jean-Luc Auge <jeanluc.auge@orange.com>

* put the code together and transmission example script

-basic dijkstra propagation
-ase noise propagation based on amplifier model
-fake nli noise propagation
-integration of the amplifier model
-interpolation function in the edfa class
-code cleaning and units harmonization

Signed-off-by: Jean-Luc Auge <jeanluc.auge@orange.com>

* mv transmission_main_example and rm _main__

Signed-off-by: Jean-Luc Auge <jeanluc.auge@orange.com>

* 2nd edfa model and build_oa_json file

add a dual coil stages edfa model in case the nf polynomial fit is not known
add a build_oa_json file that convert the input files in
edfa_config.json file and pre-calculate the nf_model nf1, nf2 and
delta_p parameters
adding power violation check and input padding (below minimum gain) in the edfa model
class

Signed-off-by: Jean-Luc Auge <jeanluc.auge@orange.com>
2018-02-20 12:51:53 -05:00
GGrammel
a30cd0f721 Contributors alphabetically
List of Contributors
2018-02-19 16:52:57 +01:00
Gert Grammel
1491c2361f updated Contributors list (#27)
completing list
2018-02-13 18:38:26 -05:00
Gilad Goldfarb
ca7b993d95 edfa model, json config loading, added utils (#26) 2018-02-13 12:11:10 -05:00
Gert Grammel
8c75c4f9d7 Created Contributors.md 2018-02-10 13:36:24 +01:00
Gert Grammel
b730b1a4f4 adding License owner "Telecom Infra Project , Inc." 2018-02-01 15:25:39 +01:00
Gilad Goldfarb
a7d3c00e5b setup.py for package (#21) 2018-01-30 11:49:59 -05:00
Mattia Cantono
9146290ecd Add License File (#22) 2018-01-30 11:49:08 -05:00
Mattia Cantono
3fae7210d8 Add Sphinx Documentation and ReadTheDocs integration (#18)
* Add sphinx documentation for readthedocs integration
* Edit README
* Edit README
* Update README formatting
* Update HTML template in conf.py
* Add .travis.yml
2018-01-10 19:50:18 -05:00
Jean-Luc Augé
002f1dfa36 JSON file based on Orange operator typical input (#15)
Signed-off-by: Jean-Luc Auge <jeanluc.auge@orange.com>
2018-01-10 19:49:45 -05:00
Xufeng Liu
b3c1e6af95 Create OperatorInputNetworkv3-xufeng.json (#17) 2018-01-10 19:49:33 -05:00
James
58ac717f8d Develop (#14)
* adding rrc filter, temporarily putting it in utilities.py
* added some docstring stuff
* added a simple loss class for fiber and cleaned up some duplicate convenience access properties
* Changed Carrier to Channel to reflect correct nomenclature for multi-carrier/superchannels
* in process fixes for main.py.  adding in amp spacings and spans to convert to start adding additional noded to Coronet network
* some simple additions to utilites
* adding stand alone edfa model
2017-12-06 22:04:24 -05:00
James Powell
f193fb261a Merge remote-tracking branch 'upstream/develop' into develop 2017-12-05 22:57:57 -05:00
James
55d8d23b25 Merge pull request #6 from giladg-FB/develop
adding base node class
2017-12-05 22:40:43 -05:00
Gilad Goldfarb
ca642e3dfc adding base node class 2017-12-05 19:35:34 -08:00
James Powell
bfb7b466eb implemented "path closing" algorithm 2017-11-09 17:30:08 -05:00
James Powell
6467cb5819 sample network propagation 2017-11-09 02:22:45 -05:00
Gilad Goldfarb
ba215d8a07 spectral_info 2017-11-08 17:25:00 -08:00
James Powell
4dc0913825 improve data format 2017-11-08 19:39:00 -05:00
James Powell
fedebc7038 update requirements.txt 2017-11-08 19:07:10 -05:00
James Powell
b42715f003 Merge branch 'fix-make-example-network-bidi' into develop 2017-11-08 19:02:08 -05:00
James Powell
48ae4252db move network management code to network.py 2017-11-08 19:00:29 -05:00
James Powell
0b4dd58c2a make CORONET network connections bidirectional 2017-11-08 18:57:15 -05:00
James Powell
81b863122d simple Makefile for building CORONET input JSON 2017-11-08 18:53:48 -05:00
James
732749d459 Merge pull request #7 from dutc/master
Phase 2
2017-11-08 15:09:02 -05:00