timewise.parent_sample_base.ParentSampleBase¶
- class timewise.parent_sample_base.ParentSampleBase(base_name)[source]¶
Base class for parent sample. Any subclass must implement
ParentSample.df: A pandas.DataFrame consisting of minimum three columns: two columns holding the sky positions of each object in the form of right ascension and declination and one row with a unique identifier.
ParentSample.default_keymap: a dictionary, mapping the column in ParentSample.df to ‘ra’, ‘dec’ and ‘id’
- Parameters:
base_name – determining the location of any data in the timewise data directory.
Methods
__init__(base_name)plot_cutout(ind[, arcsec, interactive])Plot the coutout images in all filters around the position of object with index i
save_local()Attributes
default_keymapdf