Photometry

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

Bases: mosfit.modules.Module

Band-pass filters.

Attributes Summary

ANG_CGS
C_CGS
FLUX_STD
H_CGS
H_C_ANG_CGS

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.

Attributes Documentation

ANG_CGS = 1.0000000000000002e-08
C_CGS = 29979245800.0
FLUX_STD = 0.1088546414998
H_CGS = 6.62607004e-27
H_C_ANG_CGS = 1.986445824171758e-08

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.