darkhistory.spec.transferfunclist.TransferFuncList¶
- class darkhistory.spec.transferfunclist.TransferFuncList(tflist)¶
List of transfer functions.
- Parameters:
- tflistlist of TransFuncAtRedshift or TransFuncAtEnergy
- Attributes:
- tflistlist of TransFuncAtRedshift or TransFuncAtEnergy
List of transfer functions that is part of this class.
- tftype{‘rs’, ‘in_eng’}
Type of transfer functions in the list: ‘rs’ for TransFuncAtRedshift, ‘in_eng’ for TransFuncAtEnergy
- rsndarray
Redshift abscissa of the transfer functions.
- in_engndarray
Injection energy abscissa of the transfer functions.
- spec_type{‘N’, ‘dNdE’}
The type of spectra stored in the transfer functions.
- dlnzfloat
The d ln(1+z) step for the transfer functions.
Methods
at_val(axis, new_val[, bounds_error, fill_value])Returns the transfer functions at the new abscissa.
coarsen(dlnz_factor[, delete_tfs, ...])Coarsens the new transfer function with larger dlnz.
transpose()Transposes the list of transfer functions.
- __init__(tflist)¶
Methods
__delattr__(name, /)Implement delattr(self, name).
__dir__(/)Default dir() implementation.
__eq__(value, /)Return self==value.
__format__(format_spec, /)Default object formatter.
__ge__(value, /)Return self>=value.
__getattribute__(name, /)Return getattr(self, name).
__getitem__(key)__getstate__(/)Helper for pickle.
__gt__(value, /)Return self>value.
__hash__(/)Return hash(self).
__init__(tflist)__init_subclass__This method is called when a class is subclassed.
__iter__()__le__(value, /)Return self<=value.
__lt__(value, /)Return self<value.
__ne__(value, /)Return self!=value.
__new__(*args, **kwargs)__reduce__(/)Helper for pickle.
__reduce_ex__(protocol, /)Helper for pickle.
__repr__(/)Return repr(self).
__setattr__(name, value, /)Implement setattr(self, name, value).
__setitem__(key, value)__sizeof__(/)Size of object in memory, in bytes.
__str__(/)Return str(self).
__subclasshook__Abstract classes can override this to customize issubclass().
at_val(axis, new_val[, bounds_error, fill_value])Returns the transfer functions at the new abscissa.
coarsen(dlnz_factor[, delete_tfs, ...])Coarsens the new transfer function with larger dlnz.
transpose()Transposes the list of transfer functions.
Attributes
__annotations____dict____doc____module____weakref__list of weak references to the object
dlnzenggrid_valsin_engrstflisttftype
