File containing utility functions for the ctypes bindings. Most of these functions are concerned with allocating memory. More...
Functions | |
| None | gateau.bind_utils.allfillCascade (dict[str, any] CascadeDict, Structure CascadeStruct) |
| Allocate and fill a cascade struct. More... | |
| None | gateau.bind_utils.allfillInstrument (dict[str, any] InstDict, Structure InstStruct) |
| Allocate and fill an instrument struct for ctypes. More... | |
| None | gateau.bind_utils.allfillTelescope (dict[str, any] TelDict, Structure TelStruct) |
| Allocate and fill a telescope struct for ctypes. More... | |
| None | gateau.bind_utils.allfillAtmosphere (dict[str, any] AtmDict, Structure AtmStruct) |
| Allocate and fill an atmosphere struct for ctypes. More... | |
| None | gateau.bind_utils.allfillSource (dict[str, any] SourceDict, Structure SourceStruct) |
| Allocate and fill a source object struct for ctypes. More... | |
| Structure | gateau.bind_utils.arr2ArrSpec (np.ndarray arr) |
| Convert a regularly spaced Numpy array to an array specification object. More... | |
File containing utility functions for the ctypes bindings. Most of these functions are concerned with allocating memory.
| None gateau.bind_utils.allfillAtmosphere | ( | dict[str, any] | AtmDict, |
| Structure | AtmStruct | ||
| ) |
Allocate and fill an atmosphere struct for ctypes.
| AtmDict | Dictionary containing atmosphere parameters. |
| AtmStruct | Struct to be filled and passed to ctypes. |
| None gateau.bind_utils.allfillCascade | ( | dict[str, any] | CascadeDict, |
| Structure | CascadeStruct | ||
| ) |
Allocate and fill a cascade struct.
| CascadeDict | Dictionary containing cascade efficiencies and power spectral densities. |
| CascadeStruct | Struct to be filled and passed to ctypes. |
| None gateau.bind_utils.allfillInstrument | ( | dict[str, any] | InstDict, |
| Structure | InstStruct | ||
| ) |
Allocate and fill an instrument struct for ctypes.
| InstDict | Dictionary containing instrument parameters. |
| InstStruct | Struct to be filled and passed to ctypes. |
| None gateau.bind_utils.allfillSource | ( | dict[str, any] | SourceDict, |
| Structure | SourceStruct | ||
| ) |
Allocate and fill a source object struct for ctypes.
| SourceDict | Dictionary containing source angular extents and intensity maps. |
| SourceStruct | Struct to be filled and passed to ctypes. |
| None gateau.bind_utils.allfillTelescope | ( | dict[str, any] | TelDict, |
| Structure | TelStruct | ||
| ) |
Allocate and fill a telescope struct for ctypes.
| TelDict | Dictionary containing telescope parameters. |
| TelStruct | Struct to be filled and passed to ctypes. |
| Structure gateau.bind_utils.arr2ArrSpec | ( | np.ndarray | arr | ) |
Convert a regularly spaced Numpy array to an array specification object.
| arr | Regular Numpy array to convert. |