Photometry

class mosfit.modules.Photometry(**kwargs)[source]

Bases: Module

Band-pass filters.

Attributes Summary

FLUX_STD

Methods Summary

abmag(eff_fluxes, offsets)

Convert fluxes into AB magnitude.

average_wavelengths([indices])

Return average wavelengths for specified band indices.

bands([indices])

Return the list of unique band names.

find_band_index(band[, telescope, ...])

Find the index corresponding to the provided band information.

instruments([indices])

Return the list of instruments.

load_bands(band_indices)

Load band files.

preprocess(**kwargs)

Preprocess module.

process(**kwargs)

Process module.

send_request(request)

Send requests to other modules.

set_variance_bands(band_pairs)

Set band (or pair of bands) that variance will be anchored to.

telescopes([indices])

Return the list of telescopes.

Attributes Documentation

FLUX_STD = 0.1088546414998

Methods Documentation

abmag(eff_fluxes, offsets)[source]

Convert fluxes into AB magnitude.

average_wavelengths(indices=None)[source]

Return average wavelengths for specified band indices.

bands(indices=None)[source]

Return the list of unique band names.

find_band_index(band, telescope='', instrument='', mode='', bandset='', system='')[source]

Find the index corresponding to the provided band information.

instruments(indices=None)[source]

Return the list of instruments.

load_bands(band_indices)[source]

Load band files.

preprocess(**kwargs)[source]

Preprocess module.

process(**kwargs)[source]

Process module.

send_request(request)[source]

Send requests to other modules.

set_variance_bands(band_pairs)[source]

Set band (or pair of bands) that variance will be anchored to.

telescopes(indices=None)[source]

Return the list of telescopes.