nikamap.HalfDifference

class nikamap.HalfDifference(filenames, parity_threshold=1, **kwd)[source]

A class to create weighted half differences uncertainty 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

  • 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 in the iterator

    if set to None, produce only one weighted average of the maps

  • parity_threshold (float) – mask threshold between 0 and 1 to keep partially jackknifed area * 1 pure jackknifed * 0 partially jackknifed, keep all

Notes

A crude check is made on the wcs of each map when instanciated