sirius.display_tools
¶
-
x_plot
(vis='sim_data_ALMA.ms', ptype='amp-time', forceconvert=False, tel_name='ALMA')[source]¶ Make a few types of plots Supported types : amp-time, amp-freq, uvcov, plotants forceconvert=True/False : Convert the input MS to a Zarr dataset and read it into an XArray for plotting.
If set to False, it will skip the conversion step (and all the output messages the conversion produces).
-
listobs_jupyter
(vis='sim_data_ALMA.ms')[source]¶ Print out the contents of listobs. TODO : Convert the contents to a df (if possible) for a pretty display
-
image_ants
(vis='sim_data_ALMA.ms', imname='try_ALMA', field='0', antsel='', tel='ALMA', vptable='')[source]¶ Run imager….. TODO set pblimit=-1 … or set the image stats method to look inside the PB region only.
-
get_baseline_types
(msname='', tel='ALMA')[source]¶ Define MSSelection strings for all 3 types of baselines, and all. Check them if an MS name is supplied.
-
check_vals
(vis='', field='', spw='', pb_A='', pb_B='', antsels={}, meas_peaks={}, meas_rms={}, tel='ALMA')[source]¶ For the given (selected) MS and PB images, pick out the PB values at the source location for antenna types A and B Calculate expected Intensity for the A-A, B-B, A-B and All baseline imaging cases. Using sigmas (or weights) and input vis-rms values, calculate expected rms for all 4 imaging cases Compare expected intensity, PB and RMS values with measured values.
ALMA : A = 12m. B = 7m ngVLA : A = 18m. B = 6m