HOPS
HOPS class reference
|
Classes | |
class | c_block |
class | dstats |
class | FFControlStructureBase |
general records and utils More... | |
class | gat_struct |
class | istats |
Functions | |
def | append_control_file (control_filename, output_filename, cf_lines) |
def | append_control_file_with_find_and_replace (control_filename, output_filename, cf_lines, original_string_list, replacement_string_list) |
def | get_control_block (filename, baseline, source, fgroup, time) |
def | get_control_file_hash (filename) |
def | get_fcode_index (freq_char) |
def | load_ffcontrol_library () |
def | prepend_control_file_with_find_and_replace (control_filename, output_filename, cf_lines, original_string_list, replacement_string_list) |
def | remove_lines_and_append_control_file (control_filename, output_filename, cf_lines, remove_string_list) |
Variables | |
int | AP_BY_AP = 2 |
string | COMCHAR = '*' |
int | DISCARD = 1 |
int | DSB = 3 |
int | EACH_MINUTE = 2 |
int | ITERATE = 1 |
int | KEEP = 32767 |
int | LSB = 2 |
int | MANUAL = 3 |
int | MAX_SAMP = 16 |
int | MAXFREQ = 64 |
compiler defines from control.h TODO: clean these globals up More... | |
int | MAXNOTCH = 8*MAXFREQ |
int | MODEL = 1 |
int | MULTITONE = 4 |
int | NORMAL = 1 |
int | NULLCHAR = 0 |
float | NULLFLOAT = 508.4482826 |
int | NULLINT = -12345 |
int | PHYLE = 3 |
int | POLYNOMIAL = 2 |
int | SBD = 2 |
int | SCAN_START = 1 |
int | SIMUL = 2 |
int | SINEWAVE = 1 |
int | USB = 1 |
string | WILDCARD = '?' |
module accessing fourfit control file data via c-library
def ffcontrol.ffcontrol.append_control_file | ( | control_filename, | |
output_filename, | |||
cf_lines | |||
) |
append a list of strings to a control file
def ffcontrol.ffcontrol.append_control_file_with_find_and_replace | ( | control_filename, | |
output_filename, | |||
cf_lines, | |||
original_string_list, | |||
replacement_string_list | |||
) |
find and replace matching strings in a control file, and then append a list of strings to a control file
def ffcontrol.ffcontrol.get_control_block | ( | filename, | |
baseline, | |||
source, | |||
fgroup, | |||
time | |||
) |
construct a control block from the specified control file, baseline, source, frequency group, and time
def ffcontrol.ffcontrol.get_control_file_hash | ( | filename | ) |
compute a simple hash value for a specified control file
def ffcontrol.ffcontrol.get_fcode_index | ( | freq_char | ) |
def ffcontrol.ffcontrol.load_ffcontrol_library | ( | ) |
load the c-library needed for parsing control files
def ffcontrol.ffcontrol.prepend_control_file_with_find_and_replace | ( | control_filename, | |
output_filename, | |||
cf_lines, | |||
original_string_list, | |||
replacement_string_list | |||
) |
prepend a control file with a list of strings, then find and replace matching strings in a control file
def ffcontrol.ffcontrol.remove_lines_and_append_control_file | ( | control_filename, | |
output_filename, | |||
cf_lines, | |||
remove_string_list | |||
) |
remove lines containing matching strings, and then append a list of strings to a control file
int ffcontrol.ffcontrol.AP_BY_AP = 2 |
string ffcontrol.ffcontrol.COMCHAR = '*' |
int ffcontrol.ffcontrol.DISCARD = 1 |
int ffcontrol.ffcontrol.DSB = 3 |
int ffcontrol.ffcontrol.EACH_MINUTE = 2 |
int ffcontrol.ffcontrol.ITERATE = 1 |
int ffcontrol.ffcontrol.KEEP = 32767 |
int ffcontrol.ffcontrol.LSB = 2 |
int ffcontrol.ffcontrol.MANUAL = 3 |
int ffcontrol.ffcontrol.MAX_SAMP = 16 |
int ffcontrol.ffcontrol.MAXFREQ = 64 |
compiler defines from control.h TODO: clean these globals up
int ffcontrol.ffcontrol.MAXNOTCH = 8*MAXFREQ |
int ffcontrol.ffcontrol.MODEL = 1 |
int ffcontrol.ffcontrol.MULTITONE = 4 |
int ffcontrol.ffcontrol.NORMAL = 1 |
int ffcontrol.ffcontrol.NULLCHAR = 0 |
float ffcontrol.ffcontrol.NULLFLOAT = 508.4482826 |
int ffcontrol.ffcontrol.NULLINT = -12345 |
int ffcontrol.ffcontrol.PHYLE = 3 |
int ffcontrol.ffcontrol.POLYNOMIAL = 2 |
int ffcontrol.ffcontrol.SBD = 2 |
int ffcontrol.ffcontrol.SCAN_START = 1 |
int ffcontrol.ffcontrol.SIMUL = 2 |
int ffcontrol.ffcontrol.SINEWAVE = 1 |
int ffcontrol.ffcontrol.USB = 1 |
string ffcontrol.ffcontrol.WILDCARD = '?' |