webbpsf_ext.spectra.mag_to_counts

webbpsf_ext.spectra.mag_to_counts(src_mag, bandpass, sp_type='G0V', mag_units='vegamag', **kwargs)[source]

Convert stellar magnitudes in some bandpass to corresponding flux values (e-/sec)