nabu.app.pcaflats
source module nabu.app.pcaflats
Functions
-
pcaflats_decomposition — Compute the PCS decomposition of a series of flats and darks, possibly taken from various scans.
-
main — Compute PCA Flats on a series of datasets (h5 or NX).
source get_flats_darks_in_nx(filename)
source get_flats_darks_from_h5(filename)
Raises
-
NotImplementedError
source pcaflats_decomposition(flats, darks, pcaflats_filename='PCAFlats.h5', overwrite=False, entry='entry0000', nsigma=3.0)
Compute the PCS decomposition of a series of flats and darks, possibly taken from various scans.
Raises
-
ValueError
source decode_bytes(content)
Compute PCA Flats on a series of datasets (h5 or NX).
Raises
-
ValueError
-
FileExistsError