nikamap.Bootstrap

class nikamap.Bootstrap(filenames, n_bootstrap=None, **kwd)[source]

A class to create bootstraped 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_bootstrap (int) – the number of realization to produce a bootsrapped map, by default 20 times the length of the input filename list

  • ipython_widget (bool, optional) – If True, the progress bar will display as an IPython notebook widget.

  • n (int) – the number of bootstrap maps to be produced by the iterator

Notes

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

Examples using nikamap.Bootstrap

Bootstraping error

Bootstraping error