fix: update excel documentation

Signed-off-by: EstherLerouzic <esther.lerouzic@orange.com>
Change-Id: I34ae7e7a60d46482df1af538e6977ba9afd09f3a
This commit is contained in:
EstherLerouzic
2025-01-27 09:05:56 +01:00
parent de42dd4a93
commit 1c4da4794d
2 changed files with 35 additions and 20 deletions

View File

@@ -844,6 +844,17 @@ class Fiber(_Node):
class RamanFiber(Fiber):
"""Class representing a Raman fiber in a network.
Inherits from the Fiber class and adds specific parameters and methods for Raman amplification.
:ivar raman_pumps: A tuple of pump parameters for the Raman amplification.
:vartype raman_pumps: Tuple[PumpParams]
:ivar temperature: The operational temperature of the Raman fiber.
:vartype temperature: float
:raises NetworkTopologyError: If the fiber is defined as a RamanFiber without operational parameters,
or if required operational parameters are missing.
"""
def __init__(self, *args, params=None, **kwargs):
super().__init__(*args, params=params, **kwargs)
if not self.operational: