astLib.astSED.TopHatPassband

Package astLib :: Module astSED :: Class TopHatPassband |
[hide private]
[frames] | no frames]

# Class TopHatPassband

source code

    Passband --+
               |
              TopHatPassband

This class generates a passband with a top hat response between the given wavelengths.

Instance Methods | [hide private]
__init__(self, wavelengthMin, wavelengthMax, normalise=True) Generates a passband object with top hat response between wavelengthMin, wavelengthMax. | source code
Inherited from `Passband`: `asList`, `effectiveWavelength`, `plot`, `rescale`

Method Details | [hide private]

### __init__(self, wavelengthMin, wavelengthMax, normalise=True) (Constructor) | source code
Generates a passband object with top hat response between wavelengthMin, wavelengthMax. Units are assumed to be Angstroms. Parameters: `wavelengthMin` (float) - minimum of the wavelength range of the passband `wavelengthMax` (float) - maximum of the wavelength range of the passband `normalise` (bool) - if True, scale such that total area under the passband over the wavelength range is 1. Overrides: Passband.__init__