mirror of
https://github.com/Telecominfraproject/oopt-gnpy.git
synced 2025-11-01 10:38:10 +00:00
The TL;DR behind this patch is that it's better to have a utility conversion function instead of having multiplier LUT and open code which implements the conversion. The FiberParams handling looked fishy -- apparently, it was keeping the multiplier around, but it was unconditionally setting the units to meters, anyway. Given that the units were not being preserved anyway (everything got converted to meters), and that the multipler was not used anywhere, let's refactor the code to just convert to meters using our new utility function, and remove the unused argument. Change-Id: Id886d409a4046f980eed569265baefd97db841bd
16 lines
462 B
ReStructuredText
16 lines
462 B
ReStructuredText
``gnpy.core``
|
|
-------------
|
|
|
|
.. automodule:: gnpy.core
|
|
.. automodule:: gnpy.core.ansi_escapes
|
|
.. automodule:: gnpy.core.elements
|
|
.. automodule:: gnpy.core.equipment
|
|
.. automodule:: gnpy.core.exceptions
|
|
.. automodule:: gnpy.core.info
|
|
.. automodule:: gnpy.core.network
|
|
.. automodule:: gnpy.core.parameters
|
|
.. automodule:: gnpy.core.science_utils
|
|
.. automodule:: gnpy.core.service_sheet
|
|
.. automodule:: gnpy.core.spectrum_assignment
|
|
.. automodule:: gnpy.core.utils
|