allegrodrc:selfcal
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| allegrodrc:selfcal [2020/11/27 15:10] – created intema | allegrodrc:selfcal [2021/01/12 12:58] (current) – intema | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | < | ||
| + | |||
| ====== Self-Calibration ====== | ====== Self-Calibration ====== | ||
| Line 4: | Line 6: | ||
| ==== The Need for Selfcal ==== | ==== The Need for Selfcal ==== | ||
| - | |||
| - | > The gain calibration interpolates the phase from the '' | ||
| In the classical calibration scheme, observations of your science target are always bracketed by observations of a gain calibrator. This calibration source will in most cases be an unresolved point source, for which we get uniform visibilities with a phase of zero (the amplitude is not important for the moment). This enables us to follow the varying phase with time with the aim of zeroing the phase for our observations. | In the classical calibration scheme, observations of your science target are always bracketed by observations of a gain calibrator. This calibration source will in most cases be an unresolved point source, for which we get uniform visibilities with a phase of zero (the amplitude is not important for the moment). This enables us to follow the varying phase with time with the aim of zeroing the phase for our observations. | ||
| + | |||
| + | {{ allegrodrc: | ||
| Generally, the averaged phase offset of a entire scan (CASA: '' | Generally, the averaged phase offset of a entire scan (CASA: '' | ||
| Line 17: | Line 19: | ||
| Prerequisites for self-calibration are a decent signal-to-noise ratio (typically around 20 or better) and a well-behaved source structure. The latter point is because must be able to get a good visibility model for your source structure. Very extended structure over the full field-of-view is definitely not suited for self-calibration, | Prerequisites for self-calibration are a decent signal-to-noise ratio (typically around 20 or better) and a well-behaved source structure. The latter point is because must be able to get a good visibility model for your source structure. Very extended structure over the full field-of-view is definitely not suited for self-calibration, | ||
| - | > The goal of self-calibration is to determine and correct the residual phase offsets of your science targets from nominal zero after the application of the phase solution from the gain calibrator. | + | {{ allegrodrc: |
| - | Self-calibration starts with a dataset that would be already science ready. So phase offsets between spectral windows or similar instrumental effects are already gone. If the interpolation of the gain calibrator phases would be perfect, all phases would be zero. However, since that is hardly the case, the goal of self-calibration is to correct the residual phase offsets that are still present, because... | + | Self-calibration starts with a dataset that would be already science ready. So phase offsets between spectral windows or similar instrumental effects are already gone. If the interpolation of the gain calibrator phases would be perfect, all phases would be zero. However, since that is hardly the case, the goal of self-calibration is to correct the residual phase offsets that are still present, because ... |
| - | - ...the atmosphere is changing most likely not changing in the same fashion as the interpolation scheme | + | - ... the atmosphere is changing most likely not changing in the same fashion as the interpolation scheme |
| - | - ...the atmosphere towards your science source can be different from the atmosphere towards your gain calibrator. | + | - ... the atmosphere towards your science source can be different from the atmosphere towards your gain calibrator. |
| With CASA, self-calibration is almost a no-brainer in terms of //how// to do it (but still you have to make sure that what you do makes sense in an astronomical sense). You have to have a model of your source in the '' | With CASA, self-calibration is almost a no-brainer in terms of //how// to do it (but still you have to make sure that what you do makes sense in an astronomical sense). You have to have a model of your source in the '' | ||
| Line 28: | Line 30: | ||
| Then you iterate through the following steps to get a gradually better and better image quality: | Then you iterate through the following steps to get a gradually better and better image quality: | ||
| - | < | + | - '' |
| - | < | + | |
| - | < | + | |
| - | < | + | |
| - | < | + | |
| - | < | + | |
| - | < | + | |
| - | </ | + | |
| ===== Examples ===== | ===== Examples ===== | ||
| Line 41: | Line 38: | ||
| ==== Continuum self-calibration ==== | ==== Continuum self-calibration ==== | ||
| - | < | ||
| * **Dataset**: | * **Dataset**: | ||
| * **Starting Point**: '' | * **Starting Point**: '' | ||
| * **Spectral Setup**: 4 FDM spectral windows with 3840 channels each | * **Spectral Setup**: 4 FDM spectral windows with 3840 channels each | ||
| * **Selfcal Target**: Continuum of MWC480 ('' | * **Selfcal Target**: Continuum of MWC480 ('' | ||
| - | </ | ||
| === Preparing the continuum dataset === | === Preparing the continuum dataset === | ||
| Line 83: | Line 78: | ||
| === Starting Self-calibration === | === Starting Self-calibration === | ||
| - | |||
| - | > Continuum image of the original data | ||
| Self-calibration starts with a first clean, which generates the initial model : | Self-calibration starts with a first clean, which generates the initial model : | ||
| + | |||
| + | {{ : | ||
| < | < | ||
| Line 107: | Line 102: | ||
| === First Iteration === | === First Iteration === | ||
| - | > Phase solutions for the first self-calibration step | + | {{ : |
| - | > | + | |
| - | > Continuum image of the original data (left) and after the first self-calibration (right). The two colour scales are aligned and highlight the improvement. | + | |
| As next step follows the gain calibration, | As next step follows the gain calibration, | ||
| Line 119: | Line 112: | ||
| solint = ' | solint = ' | ||
| </ | </ | ||
| + | |||
| In this first iteration we use a solution interval of 2 minutes. Since the gain calibrator is observed every 6 minutes, we get three solutions per scan. These can be displayed with : | In this first iteration we use a solution interval of 2 minutes. Since the gain calibrator is observed every 6 minutes, we get three solutions per scan. These can be displayed with : | ||
| Line 130: | Line 124: | ||
| figfile = ' | figfile = ' | ||
| </ | </ | ||
| + | |||
| As you see, the solutions generally group around a phase of zero, but there are some significant correction factors to see - particularly in the last two scans. | As you see, the solutions generally group around a phase of zero, but there are some significant correction factors to see - particularly in the last two scans. | ||
| Line 139: | Line 134: | ||
| flagbackup = F) | flagbackup = F) | ||
| </ | </ | ||
| + | |||
| The corrections are now written into the '' | The corrections are now written into the '' | ||
| + | |||
| + | {{ : | ||
| We will now make a new image, where '' | We will now make a new image, where '' | ||
| Line 159: | Line 157: | ||
| interactive = F) | interactive = F) | ||
| </ | </ | ||
| + | |||
| The improvement in image quality is obvious. The noise level goes down from around 5 mJy/beam to 0.9 mJy/beam. | The improvement in image quality is obvious. The noise level goes down from around 5 mJy/beam to 0.9 mJy/beam. | ||
| === Second iteration === | === Second iteration === | ||
| - | > Phase solutions for the first self-calibration step | + | {{ : |
| - | > | + | |
| - | > Continuum image after the first iteration (left) and the second iteration (right). The two colour scales are aligned and highlight the improvement. | + | |
| Again, we perform a gain calibration to find new correction factors. This time we use a solution interval of the integration time of a single data point '' | Again, we perform a gain calibration to find new correction factors. This time we use a solution interval of the integration time of a single data point '' | ||
| Line 176: | Line 173: | ||
| solint = ' | solint = ' | ||
| </ | </ | ||
| + | |||
| The results are again displayed : | The results are again displayed : | ||
| Line 187: | Line 185: | ||
| figfile = ' | figfile = ' | ||
| </ | </ | ||
| + | |||
| The corrections become less, but still they are up to around 50°. | The corrections become less, but still they are up to around 50°. | ||
| Line 196: | Line 195: | ||
| flagbackup = F) | flagbackup = F) | ||
| </ | </ | ||
| + | |||
| + | {{ : | ||
| + | |||
| So far, we have only corrected phases. In the next step, we are also correcting for variations in the amplitude gain. Again, we clean the image with the visibilities with the improvements from the last iteration : | So far, we have only corrected phases. In the next step, we are also correcting for variations in the amplitude gain. Again, we clean the image with the visibilities with the improvements from the last iteration : | ||
| Line 214: | Line 216: | ||
| interactive = F) | interactive = F) | ||
| </ | </ | ||
| + | |||
| Again, the improvement can be nicely seen. The noise goes down from 0.9 mJy/beam to around 0.5 mJy/beam. | Again, the improvement can be nicely seen. The noise goes down from 0.9 mJy/beam to around 0.5 mJy/beam. | ||
| === Third Iteration === | === Third Iteration === | ||
| - | > Amplitude correction factors | + | {{ : |
| - | > | + | |
| - | > Continuum image after the second iteration (left, phase only) and the iteration (right). The two colour scales are aligned and highlight the improvement. | + | |
| Now we perform an amplitude gain calibration, | Now we perform an amplitude gain calibration, | ||
| Line 232: | Line 233: | ||
| solint = ' | solint = ' | ||
| </ | </ | ||
| + | |||
| We display the amplitude correction factors (we are not displaying phase correction terms here, as these are indeed zero) : | We display the amplitude correction factors (we are not displaying phase correction terms here, as these are indeed zero) : | ||
| Line 242: | Line 244: | ||
| figfile = ' | figfile = ' | ||
| </ | </ | ||
| + | |||
| And again applying everything to get the corrected visibilities : | And again applying everything to get the corrected visibilities : | ||
| Line 249: | Line 252: | ||
| flagbackup = F) | flagbackup = F) | ||
| </ | </ | ||
| + | |||
| + | {{ : | ||
| + | |||
| Cleaning will show us again the improvement : | Cleaning will show us again the improvement : | ||
| Line 267: | Line 273: | ||
| interactive = F) | interactive = F) | ||
| </ | </ | ||
| + | |||
| And indeed, the noise goes down from 0.5 mJy/beam to around 0.2 mJy/beam. | And indeed, the noise goes down from 0.5 mJy/beam to around 0.2 mJy/beam. | ||
| We started off with a noise level of around 5 mJy/beam and ended up at 0.2 mJy/beam, which is an improvement of around a factor of 25. | We started off with a noise level of around 5 mJy/beam and ended up at 0.2 mJy/beam, which is an improvement of around a factor of 25. | ||
allegrodrc/selfcal.1606486211.txt.gz · Last modified: by intema
