Remove unused property Fiber.fiber_loss

Change-Id: I7596efaeaa1c6cdef15118521662e54db34fd9e6
This commit is contained in:
Jan Kundrát
2021-06-03 01:54:06 +02:00
parent be95496f85
commit 39c894bb6a

View File

@@ -348,11 +348,6 @@ class Fiber(_Node):
f' (conn loss out includes EOL margin defined in eqpt_config.json)',
f' pch out (dBm): {self.pch_out_db!r}'])
@property
def fiber_loss(self):
"""Fiber loss in dB, not including padding attenuator"""
return self.params.loss_coef * self.params.length + self.params.con_in + self.params.con_out
@property
def loss(self):
"""total loss including padding att_in: useful for polymorphism with roadm loss"""