comnum.wdm_grid#
- comnum.wdm_grid(n, spacing_hz)#
The centre frequencies of
nWDM channels, relative to the carrier: the grid of OptiCommPy’ssimpleWDMTx.- Parameters:
- Returns:
the
nfrequencies (Hz, float64).- Return type:
- Raises:
ValueError – for a negative count.
Examples
>>> import comnum >>> comnum.wdm_grid(3, 50e9).tolist() [-50000000000.0, 0.0, 50000000000.0]