mapping api¶
- lwa_antpos.mapping.ant_to_snap2loc(antname)[source]¶
Given antname, return snap2 (chassis, location) as tuple
- lwa_antpos.mapping.antpol_to_arx(antname, polname)[source]¶
Given antname and polname, return arx (address, channel) tuple
- lwa_antpos.mapping.antpol_to_digitizer(antname, polname)[source]¶
Given antname and polname, return (snap2loc, digitizer) tuple. Digitizer is remapped to 0-63 (fmc=0 => 0-31, fmc=1 => 32-63).
- lwa_antpos.mapping.antpol_to_fpga(antname, polname)[source]¶
Given antname and polname, return (snap2loc, fpga input) tuple.
- lwa_antpos.mapping.filter_df(columnname, value)[source]¶
Gets full DataFrame and filters by columnname == value. Returns new DataFrame
- lwa_antpos.mapping.get_unique(df, columnname)[source]¶
Return unique values for columnname in DataFrame