DataPoint is a single OTDR measurement
| 56 | |
| 57 | // DataPoint is a single OTDR measurement |
| 58 | type DataPoint struct { |
| 59 | DistanceM float64 |
| 60 | AmplitudeDB float64 |
| 61 | } |
| 62 | |
| 63 | // TimeNs converts distance in meters to time in nanoseconds using the refractive index |
| 64 | func (d DataPoint) TimeNs(refractiveIndex float64) float64 { |
nothing calls this directly
no outgoing calls
no test coverage detected