HOPS
HOPS class reference
|
Classes | |
class | auto_global |
class | auto_per_lag |
class | ch1_tag |
class | ch_struct |
class | ChanCount |
class | complex_struct |
class | counts_global |
class | counts_per_lag |
class | date |
class | ffit_chan_struct |
class | flag_wgt |
class | index_tag |
class | lag_data |
class | lag_tag |
class | mk4_corel |
class | mk4_fringe |
class | mk4_sdata |
class | Mk4StructureBase |
class | model_struct |
class | mutable_length_char_array |
class | newphasor |
class | pcal_struct |
class | phasor |
class | polars |
class | sbandf |
class | sbweights |
class | sidebands |
class | sky_coord |
class | spectral |
class | stcount_struct |
class | trackstat |
class | type_000 |
class | type_100 |
class | type_101 |
class | type_120 |
class | type_200 |
class | type_201 |
class | type_202 |
class | type_203 |
class | type_204 |
class | type_205 |
class | type_206 |
class | type_207 |
class | type_208 |
class | type_210 |
class | type_212 |
class | type_220 |
class | type_221 |
class | type_222 |
class | type_230 |
class | type_300 |
class | type_301 |
class | type_302 |
class | type_303 |
class | type_304 |
class | type_305 |
class | type_306 |
class | type_307 |
class | type_308 |
class | type_309 |
Functions | |
def | clear_mk4fringe (mk4_fringe_obj) |
def | mk4corel (filename) |
def | mk4fp_approximately_equal (a, b, abs_tol=1e-14, rel_tol=1e-6) |
def | mk4fringe (filename) |
def | mk4io_load () |
def | mk4redefine_array_length (array, new_size) |
general records and utils More... | |
def | mk4redefine_char_array_length (array, new_size) |
def | mk4sdata (filename) |
provides python access to mk4 data-types via c-library
def mk4io.mk4io.clear_mk4fringe | ( | mk4_fringe_obj | ) |
clear/delete a mk4fringe object
def mk4io.mk4io.mk4corel | ( | filename | ) |
read and return mk4corel file object
def mk4io.mk4io.mk4fp_approximately_equal | ( | a, | |
b, | |||
abs_tol = 1e-14 , |
|||
rel_tol = 1e-6 |
|||
) |
simple floating point comparison
def mk4io.mk4io.mk4fringe | ( | filename | ) |
read and return a mk4fringe file object
def mk4io.mk4io.mk4io_load | ( | ) |
locate and load the mk4 c-library
def mk4io.mk4io.mk4redefine_array_length | ( | array, | |
new_size | |||
) |
general records and utils
This function is nasty hack needed for redefining the size of a variable length array this mimics the c-structs ability to ignore bounds checking. Otherwise python/ctypes complains that we are accessing data at an invalid index and wont let us get at the data. For example, this can be used for accessing data beyond the first element in the 'data' field of type_212, by doing something like: (x is a type_212 ptr) accessible_data = mk4redefine_array_length(x.contents.data, x.contents.nap )
def mk4io.mk4io.mk4redefine_char_array_length | ( | array, | |
new_size | |||
) |
same as mk4redefine_array_length, but specific to char arrays (strings)
def mk4io.mk4io.mk4sdata | ( | filename | ) |
read an return a mk4sdata file object