Detector#
- class m4opt.synphot.Detector(plate_scale, area, bandpasses, background, dark_noise=<Quantity 0. Hz>, read_noise=0.0, npix=12.566370614359172, aperture_correction=1.0, gain=1.0)[source] [edit on github]#
Bases:
objectSensitivity calculator: compute SNR for exposure time or vice-versa.
Attributes Summary
Fraction of the signal from a point source in the photometry aperture.
Effective collecting area.
Background 1D model mapping wavelength to surface brightness.
Dictionary of 1D models mapping wavelength to dimensionless transmission.
Dark noise count rate.
Detector gain.
Effective number of pixels in the photometry aperture.
Solid angle per pixel.
Number of noise counts due to readout.
Methods Summary
get_exptime(snr, source_spectrum[, bandpass])get_limmag(snr, exptime, source_spectrum[, ...])Get the limiting magnitude for a given SNR and exposure time.
get_snr(exptime, source_spectrum[, bandpass])Attributes Documentation
- Parameters:
- aperture_correction: float = 1.0#
Fraction of the signal from a point source in the photometry aperture.
The default value of 1 is appropriate for PSF photometry.
- area: Annotated[Quantity, PhysicalType('area')] = <dataclasses._MISSING_TYPE object>#
Effective collecting area.
- background: SourceSpectrum = <dataclasses._MISSING_TYPE object>#
Background 1D model mapping wavelength to surface brightness.
- bandpasses: dict[Hashable, Model] = <dataclasses._MISSING_TYPE object>#
Dictionary of 1D models mapping wavelength to dimensionless transmission.
- dark_noise: Annotated[Quantity, PhysicalType('frequency')] = <Quantity 0. Hz>#
Dark noise count rate.
- npix: float = 12.566370614359172#
Effective number of pixels in the photometry aperture.
The default value of 4π is appropriate for a PSF that is critically sampled by the pixels [1].
References
- plate_scale: PhysicalType('solid angle') = <dataclasses._MISSING_TYPE object>#
Solid angle per pixel.
Methods Documentation
- get_exptime(snr, source_spectrum, bandpass=None)[source] [edit on github]#
- get_limmag(snr, exptime, source_spectrum, bandpass=None)[source] [edit on github]#
Get the limiting magnitude for a given SNR and exposure time.
Note that the limiting magnitude is relative to the source spectrum, so you should pass a source spectrum that has an apparent magnitude of 0.