Fluxes#
- class prose.Fluxes#
Photometric fluxes, from single to multiple stars and apertures.
Also hold contemporary time-series, errors and apertures properties.
Methods
__init__(fluxes[, time, errors, data, ...])autodiff()Automatic differential photometry with Broeg et al. 2005.
best_aperture_index([method, sigma])Find index of best aperture
bin(size[, estimate_error])Returns a
Fluxesinstance with binned time seriescopy()diff([comps])Differential photometry
errorbar([color, fmt])Error bar plot of the light curve
estimate_best_aperture([target, method, sigma])Inplace setting of best aperture.
load()mask(array)Mask time-dependant fluxes attributes (time, fluxes, errors, data)
mask_stars(mask[, keep_indexing])Mask stars fluxes.
plot([marker, color, ls, ax])Plot light curve
save(path)Save fluxes to file
sigma_clip_flux([iterations, sigma])Return a Fluxes instance masked using iteratively sigma clipping.
sigma_clipping_data([iterations])Return a Fluxes instance masked using iteratively sigma clipped data.
vander(**kwargs)Attributes
apertureIndex of selected aperture
aperturesApertures radii
dataA dict of data time-series, each with the same shape as
timedataframedferrorerrorsErrors with same shape as
fluxesfluxMain flux
metadatandimshapetargetIndex of selected target
timeArray of observed time
weightsFluxes weights (from differential photometry)
fluxesFluxes either as 1, 2, or 3 dimensional arrays, with following dimensions - 1: (time) - 2: (star, time) - 3: (aperture, star, time)