coscon.fits_helper module

class coscon.fits_helper.BaseFitsHelper(path: pathlib.Path, memmap: bool = True, name: str = '')[source]

Bases: object

A class for general fits files

property info
property infos
memmap: bool = True
name: str = ''
path: pathlib.Path
class coscon.fits_helper.CMBFitsHelper(path: pathlib.Path, memmap: bool = True, name: str = '')[source]

Bases: coscon.fits_helper.BaseFitsHelper

Specialized 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

coscon.fits_helper.fits_info_cli()[source]