coscon.fits_helper module¶
-
class
coscon.fits_helper.BaseFitsHelper(path: pathlib.Path, memmap: bool = True, name: str = '')[source]¶ Bases:
objectA class for general fits files
-
property
info¶
-
property
infos¶
-
memmap: bool = True¶
-
name: str = ''¶
-
path: pathlib.Path¶
-
property
-
class
coscon.fits_helper.CMBFitsHelper(path: pathlib.Path, memmap: bool = True, name: str = '')[source]¶ Bases:
coscon.fits_helper.BaseFitsHelperSpecialized in fits container typically used in CMB analysis
-
property
maps¶ Return a 2D healpix map array. where the first dimension is the i-th map
-
property
n_maps¶ Return total number of maps assuming it is a CMB fits
-
property
names¶ Get names of maps
-
path: pathlib.Path¶
-
property
to_maps¶ package data in a Maps object
-
property