tabulated_bandpass¶
- nyx.instrument.aperture_table.tabulated_bandpass(wvls, transmission)[source]¶
Build an instrument bandpass callable from a tabulated curve.
- Parameters:
- Returns:
wvls -> bandpass, linearly interpolated between samples and zero outside the tabulated range.- Return type:
callable
- Raises:
ValueError – If fewer than two samples are given.