webbpsf_ext.bandpasses.bp_igood

webbpsf_ext.bandpasses.bp_igood(bp, min_trans=0.001, fext=0.05)[source]

Given a bandpass with transmission 0.0-1.0, return the indices that cover only the region of interest and ignore those wavelengths with very low transmission less than and greater than the bandpass width.

Parameters:
  • bp (synphot bandpass object) – Bandpass to use

  • min_trans (float) – Minimum transmission value relative to max throughput outside of band to keep

  • fext (float) – Wavelength fractional extension of bandpass width to keep