Gateau User Manual
Atmospheric simulation of astronomical signals
ifu.py File Reference

Functions

def gateau.ifu.lorentzian (f, f0, Ql)
 
def gateau.ifu.lorentzian_with_second_order (f, f0, Ql, I=1)
 
np.ndarray gateau.ifu.generate_filterbank (dict[str, any] instrumentDict, dict[str, any] sourceDict)
 
np.ndarray gateau.ifu.generate_filterbank_independent (dict[str, any] instrumentDict, dict[str, any] sourceDict)
 Generate a Lorentzian filterbank matrix from resolving power R. More...
 
tuple[np.ndarray, np.ndarray] gateau.ifu.generate_fpa_pointings (dict[str, any] instrumentDict)
 Generate a hexagonal far-field pointing model. More...
 

Detailed Description

Generate or read filterbank matrix.

Function Documentation

◆ generate_filterbank()

np.ndarray gateau.ifu.generate_filterbank ( dict[str, any]  instrumentDict,
dict[str, any]  sourceDict 
)
Generate an 'idealized' filterbank that assumes perfect matching of the filters to the signal line.

Args:
    f (array): frequencies over which to evaluate the filterbank.
    f0 (array): a list of resonance frequencies of the filters.
    Ql (single value, array): The loaded quality factor of the filters, given as a single value or a list of the same length as f0_list.
    kernel (function): the function describing the filter. Must take as arguments (f, f0, Ql).

Returns:
    transfer (2d array): the transfer function for each filter. dimensions (len(f),len(f0)).


◆ generate_filterbank_independent()

np.ndarray gateau.ifu.generate_filterbank_independent ( dict[str, any]  instrumentDict,
dict[str, any]  sourceDict 
)

Generate a Lorentzian filterbank matrix from resolving power R.

Parameters
instrumentDictInstrument dictionary.
sourceDictSource dictionary.
Returns
filterbank The Lorentzian filterbank.

◆ generate_fpa_pointings()

tuple[np.ndarray, np.ndarray] gateau.ifu.generate_fpa_pointings ( dict[str, any]  instrumentDict)

Generate a hexagonal far-field pointing model.

Parameters
instrumentDictDictionary containing instrument specifications.
Returns
Tuple of arrays containing azimuth and elevation pointings per spaxel

◆ lorentzian()

def gateau.ifu.lorentzian (   f,
  f0,
  Ql 
)
Normalized Lorentzian (directional filter) centered at f0.

◆ lorentzian_with_second_order()

def gateau.ifu.lorentzian_with_second_order (   f,
  f0,
  Ql,
  I = 1 
)
Normalized Lorentzian (directional filter) centered at f0.