Crate mwa_giant_squid

Crate mwa_giant_squid 

Source
Expand description

An alternative, efficient and easy-to-use interface for the MWA ASVO.

Re-exports§

pub use obsid::Obsid;
pub use asvo::*;

Modules§

asvo
Code to interface with the MWA ASVO.
built_info
obsid
Code to handle obsids.

Enums§

ParseError

Functions§

check_file_sha1_hash
Takes a filename, expected hash and a job id and returns Ok if the calculated hash matches the expected hash, otherwise returns an AsvoError::HashMismatch
get_job_state_table_style
get_job_type_table_style
parse_jobids_and_obsids_from_file
Read a file, and return two vectors of ASVO job IDs and obsids. Fail if any string in the file cannot be parsed as either.
parse_key_value_pairs
Parse a string of key-value pairs (e.g. “avg_time_res=0.5,avg_freq_res=10”) into a BTreeMap.
parse_many_jobids_or_obsids
Parse a string of ASVO job IDs, obsids, or files containing job IDs or obsids into two vectors of job IDs and obsids.