ULSA.spectral_index_fitting.spectral_index_analysis_for_constant¶
class:
class ULSA.spectral_index_fitting.spectral_index_constant.constant_index(object):
method:
-
__init__(self)¶ initial parameter function :return: none
-
calculate_index(downgrade_to)¶ return the spectral index value for constant spectral index condition.
- Parameters
downgrade_to (int) – The Nside value one choose in healpix mode, must be 2^N.
- Returns
the spectral index value
- Return type
float
- Raises
TypeError – if the downgrade_to is not 2^N