nikamap.Jackknife¶
- class nikamap.Jackknife(filenames, n_samples=None, parity_threshold=1, **kwd)[source]¶
A class to create weighted Jackknife maps from a list of scans.
This acts as a python lazy iterator and/or a callable
- Parameters:
filenames (list) – the list of fits files to produce the Jackknifes
n_samples (int) – The number of (sub) samples to use (from 2 to len(filenames))
parity_threshold (float) – mask threshold between 0 and 1 to keep partially jackknifed area * 1 pure jackknifed * 0 partially jackknifed, keep all
ipython_widget (bool, optional) – If True, the progress bar will display as an IPython notebook widget.
n (int) – the number of Jackknifes maps to be produced by the iterator
Notes
A crude check is made on the wcs of each map when instanciated