...
VCSBeam: v3.3.29_1c96505
Create hyperdrive Hyperdrive batch script:
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
#!/bin/bash -l #SBATCH --job-name=hyp-$1 #SBATCH --output=hyperdrive.out #SBATCH --nodes=1 #SBATCH --ntasks-per-node=40 #SBATCH --time=01:00:00 #SBATCH --clusters=garrawarla #SBATCH --partition=gpuq #SBATCH --account=mwavcs #SBATCH --export=NONE #SBATCH --gres=tmp:50g #SBATCH --gres=gpu:1 # Load the Hyperdrive module module use /pawsey/mwa/software/python3/modulefiles module load hyperdrive module load vcsbeam set -eux which hyperdrive # The location of the correlated visibility FITS files: DATADIR=/astro/mwavcs/asvo/253001 # The path to the associated metafits filefiles CAL_METAFITS=${DATADIR}/1323690320.metafits OBS_METAFITS=/astro/mwavcs/asvo/253008/1323690616.metafits # <-- This is the observation for which the calibration solution is needed # The base source list (you shouldn't need to change this) SRCLIST=/pawsey/mwa/software/python3/srclists/master/srclist_pumav3_EoR0aegean_fixedEoR1pietro+ForA_phase1+2.txt # If it hasn't been done already, run Hyperdrive in "srclist-by-beam" to get just the subset of sources in the beam if [[ ! -r srclist_1000.yaml ]]; then hyperdrive srclist-by-beam \ -n 1000 \ -m ${CAL_METAFITS} \ /pawsey/mwa/software/python3/srclists/master/srclist_pumav3_EoR0aegean_fixedEoR1pietro+ForA_phase1+2.txt \ srclist_1000.yaml fi # Run Hyperdrive to generate a calibration solution hyperdrive di-calibrate \ -s srclist_1000.yaml \ -d ${DATADIR}/*.fits \ ${CAL_METAFITS} # Use VCSBeam to plot the solutions srun -N 1 -n 1 mwa_plot_calibration -m ${OBS_METAFITS} -c ${CAL_METAFITS} -C hyperdrive_solutions.bin -R NONE -U 0,0 -O -X -z nan > plot_data.txt # The following will have to be done on your own computer (not on Garrawarla) # Download # (1) plot_calibration.py (use "which plot_calibration.py" to find out where it is) # (2) plot_data.txt # and then run the following #plot_calibration.py --phases_png phases.png --amps_png amps.png plot_data.txt |
Run the Hyperdrive script (on Garrawarla):
...
Plot the calibration solutions (on your local computer, after downloading a copy of plot_calibration.py
and plot_data.txt
:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
plot_calibration.py --phases_png phases.png --amps_png amps.png plot_data.txt |
1323690616
Anchor | ||||
---|---|---|---|---|
|
...