Flare Imaging
Preparation
First, identify the time when the flare in question happened. There are many ways to do this, but a nice way is to use the RHESSI Browser and check "EOVSA Radio Data" on the upper left. Use the time you identified to find the corresponding IDB file(s) under /data1/eovsa/fits/IDB/yyyymmdd/. Then, on pipeline, it is advised to go to your working directory and copy the IDB data into your directory. Note, never, NEVER, work directly on the IDB data in the original data directory! Here I use /data1/eovsa/fits/IDB/20170821/IDB20170821202020 (2017 Aug 21 C flare) as an example.
Calibration
Start CASA in your working directory (it takes a minute or so to load)
casa
- Import Miriad file into CASA.
importeovsa(idbfiles='IDB20170821202020')
idbfiles could be a string of the IDB file name, or a list of IDB files. The output is automatically named "IDB20170821202020.ms".
- Perform reference phase calibration and multiband delay calibration (daily phase calibration). First, go to this page and check if reference calibrations and daily phase calibrations have already been in the database. If not, create them following the instructions on reference calibration, daily phase calibration, and total power calibration.
Note for now there is an annoying issue in CASA 5.1.0 that clean does not run after any parallelized tasks. So it would be safe to exit CASA before running calibeovsa if you set doimage=True.
calibeovsa(vis='IDB20170711201620_1.ms', caltype=['refpha','phacal'], doimage=True)
This will calibrate the input visibility, write out calibration tables under /data1/eovsa/caltable/, and apply the calibration. If doimage=True, a quicklook image will be produced (by integrating over the entire time).
Note both importeovsa and calibeovsa are (customized) CASA tasks. If you want to use more functionality of them and/or see more information of each parameter, you can follow the normal procedure of using a CASA task.
Self-calibration
As EOVSA does not calibrate as often as other general-purpose radio interferometers (e.g., VLA and ALMA), self-calibration is often needed in bringing out details of the flare at multiple frequencies. An example CASA script for doing self-calibration of the 2017 Aug 21 flare at ~20:20 UT can be found at this Github link