eradiate.ckd.Bin
eradiate.ckd.Bin#
- class eradiate.ckd.Bin(id, wmin, wmax, quad)[source]#
Bases:
object
A data class representing a spectral bin in CKD modes.
- Parameters
- Fields
- classmethod convert(value)[source]#
If
value
is a tuple or a dictionary, try to construct aBin
instance from it. Otherwise, returnvalue
unchanged.
- property wcenter#
Bin central wavelength.
- Type
quantity
- property width#
Bin spectral width.
- Type
quantity