Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

2023 goals:

  1. SRDP spring release to promote new capability and use in AUDI
  2. Fall 2023 (i.e. by end of June)
    1. heuristic extensions
    2. weblog cleanup
    3. facilitate use for manual imaging scenarios that require selfcal  - gain real world testing benchmarks
  3. Fall 2024: if sufficient validation has occurred, hope to recommend for ALMA ops.

...

Necessary for SRDP release

  1. need regcal and selfcal aggcont and cube images created and exported
    Jira
    serverDMS JIRA
    columnIdsissuekey,summary,issuetype,created,updated,duedate,assignee,reporter,priority,status,resolution
    columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
    serverIdeb2e750b-a83a-387e-8345-36eee8a98f01
    keyPIPE-1474
    (Done on pipe 1447 branch)
    1. filenames
      Jira
      serverDMS JIRA
      columnIdsissuekey,summary,issuetype,created,updated,duedate,assignee,reporter,priority,status,resolution
      columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
      serverIdeb2e750b-a83a-387e-8345-36eee8a98f01
      keyPIPE-1710
      (Done on pipe 1447 branch)
    2. image headers 
      Jira
      serverDMS JIRA
      columnIdsissuekey,summary,issuetype,created,updated,duedate,assignee,reporter,priority,status,resolution
      columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
      serverIdeb2e750b-a83a-387e-8345-36eee8a98f01
      keyPIPE-1448
      (Done on pipe 1447 branch)
    3. hif_editimlist to have datatype keyword 
      Jira
      serverDMS JIRA
      columnIdsissuekey,summary,issuetype,created,updated,duedate,assignee,reporter,priority,status,resolution
      columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
      serverIdeb2e750b-a83a-387e-8345-36eee8a98f01
      keyPIPE-1798
      (Done on pipe 1447 branch)
  2. DR modifiers for continuum and line data split; DR modifier for continuum takes into account self-calibration improvement 
    Jira
    serverDMS JIRA
    columnIdsissuekey,summary,issuetype,created,updated,duedate,assignee,reporter,priority,status,resolution
    columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
    serverIdeb2e750b-a83a-387e-8345-36eee8a98f01
    keyPIPE-1452
    (Done on pipe 1447 branch)
  3. Print pre/post beam info in per-solint table (weblog) -Done
  4. skip mosaics implicitly (defined in PIPE-1445) - Done
  5. 3 digits past decimal for all values (weblog) - Done
  6. Fix beam comparision ratios in per-solint stats Print pre/post beam info in per-solint table(weblog) - Done
  7. Change in nterms for high S/N sources for hif_makeimages to nterms=2 
    Jira
    serverDMS JIRA
    columnIdsissuekey,summary,issuetype,created,updated,duedate,assignee,reporter,priority,status,resolution
    columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
    serverIdeb2e750b-a83a-387e-8345-36eee8a98f01
    keyPIPE-1772
    (Done on pipe 1447 branch)
  8. Recipe updates for ALMA and VLA 
    Jira
    serverDMS JIRA
    columnIdsissuekey,summary,issuetype,created,updated,duedate,assignee,reporter,priority,status,resolution
    columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
    serverIdeb2e750b-a83a-387e-8345-36eee8a98f01
    keyPIPE-1559
    1. datatype awareness for hif_editimlist
    need regcal and selfcal aggcont and cube images created and exported
    1. (Done in pipe-1710 and pipe-1798)
    2. AUDI needs to still finish pipeline and make exportable images if selfcal fails (Done)
    3. unclear if forcing datacolumn='corrected' in hif_editimlist will succeed or not in cases where selfcal data are missing (if data type does not exist, shouldn't run the task) (N/A with datatypes)

...

Post-SRDP Release (for Fall 2023 i.e. by end of June)

Imaging heuristics

Selfcal heuristics (RI priority order 3/21)

  • Selfcal restore 
    Jira
    serverDMS JIRA
    columnIdsissuekey,summary,issuetype,created,updated,duedate,assignee,reporter,priority,status,resolution
    columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
    serverIdeb2e750b-a83a-387e-8345-36eee8a98f01
    keyPIPEREQ-217
  • Use parallel model writes, avoiding CAS-13338 
    Jira
    serverDMS JIRA
    columnIdsissuekey,summary,issuetype,created,updated,duedate,assignee,reporter,priority,status,resolution
    columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
    serverIdeb2e750b-a83a-387e-8345-36eee8a98f01
    keyPIPE-1789
    selfcal should reject pipeline mitigations internally
  • agg. cont self-calibration should use full image size and pixels per beam (model creation could be compromised otherwise)
  • perform self-calibration even for mitigated sources - extremely beneficial from archival point of view
  • Implement low S/N and long baseline heuristics from PS (https://github.com/psheehan/auto_selfcal/tree/lbimprovements)
  • Implement mosaic heuristics from PS (https://github.com/psheehan/auto_selfcal/tree/lbimprovements%2Bmosaics%2Bcocal)
  • selfcal should reject pipeline mitigations internally
    • agg. cont self-calibration should use full image size and pixels per beam (model creation could be compromised otherwise)
    • perform self-calibration even for mitigated sources - extremely beneficial from archival point of view
  • Expose all relevant parameters
  • Determine DR correction modifications for self-calibrated line data 
    Jira
    serverDMS JIRA
    columnIdsissuekey,summary,issuetype,created,updated,duedate,assignee,reporter,priority,status,resolution
    columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
    serverIdeb2e750b-a83a-387e-8345-36eee8a98f01
    keyPIPEREQ-249
  • Possible improvement
    • uv-plane determination if a source is detectable in field of view
    • enable inclusion/exclusion in hif_selfcal
  • Reference antenna determination cleaned up
    • VLA and ALMA use pipieline function to determine the refant list, not the function from prototype

QA & messages

  •  Fix and suppress some warnings
    • "channel bandwidths ratio?" => see 
      Jira
      serverDMS JIRA
      columnIdsissuekey,summary,issuetype,created,updated,duedate,assignee,reporter,priority,status,resolution
      columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
      serverIdeb2e750b-a83a-387e-8345-36eee8a98f01
      keyPIPE-1447
      is the result of averaging down to 15.625 MHz channels when there was pre-averaging
    • suppress representative target warnings
  • main table:
    • solints to attempt - make the successful solints bolded
    • Mouseover text for success (define as: 'self-calibration solutions accepted for at least one solution interval')
    • Remove phasecenter, cellsize, and imsize from table
    • Remove the 'apply contline' and 'apply cont' columns

...

    • . If those fail as part of the task, the entire task should fail.
    • Add stop reason to table

Main page and results table:

  • the page nagivation navigation with expanding sections is not used anywhere else and will be very unfamiliar - some of it is better than what is used elsewhere, but either way we should be more consistent
    • at the very least the buttons that expand alternative sections should have little "v" down arrow, or something indicating that they'll expand.
      or more consistent with the rest of the weblog would be to put all that on a subpage.
    • AAK: I would suggest being consistent with the current hif_makeimages results pages and how they work. Otherwise people are just going to be very confused.
    • I would suggest source list at top with links to each source (again similar to current weblogs
    • Some preference for this to open a new page
      • → per 03/22 PLWG: leave as is but start with expanded + more intuitive button to go back to the top
        • Can the button back to the top be a button?
        • "Collapse all" and "Expand all" buttons?
  • Need 'View Other QA images'-type page page to show model, residual, mask, PB, and PSF. Does not need to exactly mirror iter0, iter1 of pipeline, but should show the necessary details for each image. => Maybe not PB; make blinkable from before → after (per image type)
  • the weird 3-dot, 3-line symbol at the start of the line is that takes you back up to the top - probably just ditch that for now .or have explicit ('jump to top text')
  • add mouseoverDistmouseover text to Dist./Ratio is not defined, and that plot needs explanatory textthat defines what this column is
  • theoretical sensitivity should be plotted as filled, dark gray distribution rather than the horizontal bar, this will fix many issues with the current horizontal bartheoretical sensitivity doesn't show up on the plot sometimes, so putting it in the legend is not great.  Ok I found another one where its a horizontal bar - i feel like it should be a gaussian, or the theoretical noise distribution with the right sigma?  comparing a purple bar to a distribution doesn't seem quite right.
  • success "yes" looks like a clickable link but it isn't
  • down the line it would be good to figure out how to display the large table of numbers graphically - its a lot of numbers to digest.  Or as a first step highlight table cells that indicate something interesting or potentially troubling is hapenning
  • the table rendering is joining columns that probably shouldn't be joined, like "rms improvement" and "ratio of beam area" when they're both 1.0
  • need to add residual and possibly model imagesRAL:
  • 'Comparison' is unclear as to what it is calculating, and units are oddRAL: 'N.F.' → 'Near Field' and similar abbreviations made more clear
  • RAL: why is 'flagged solutions by antenna' blank?
  • abbreviation needs a mouse-over definition
  • AAK: I would put stop reason higher
  • General comment: Do not abbreviate words if space is available.
  • For large numbers of spws, do not list all windows. Since selfcal is done per-band for the VLA, e.g., 2~64  instead of listing all windows individually.
  • Add number of seconds in a scan

QA Plots (per-solint)subpages:

  • need Need the "BACK" button like other subpages,
  • Arrow buttons to go to other solints (similar to hif_makeimages 'View other QA images' pages
  • The again the weird symbol with three dots and three lines doesn't seem to do anything except randomly port me somewhat upwards on the page, so probably should be removed for now.remove or make explicit what it does
  • Passed "Yes" again is a link that doesn't do anything when clicked
  • "Sol summary" needs better explanation and not use "Sol" probably; in particular what is doing the flagging - just gaincal?
  • I'm not sure what the gain(phase) plots are intended to be used for - there doesn't seem to be a lot of information there - if one is supposed to note something, I think what to look for should be documented, or better yet a QA score calculated?
  • The QA note about "channel bandwidth ratio" doesn't have units and is a really huge number. It's not apparent what this means to me as a user.
  • RAL: phase plots need to have consistent scale to be useful as thumbnails.
  • RAL: 'Comparison' plot and stats missing here
  • RAL: This is where I would expect to see a hif_makeimages style breakout of residuals, etc. that Amanda mentioned via email.
  • Assess S/N ratio in the visibility plane
  • Don't abbreviate if space
  • At least 3 significant digits in RMS

Top table:

  • Bold last solution attempted that succeeded
    • Success column helpful as a quick thing
    • Bold rather than colors
    • Do band, phasecenter, spw need to be in table?
      • Want band for VLA
  • Don't need both success and apply contline

Theoretical Sensitivity graphs:

  • Show theoretical as a Gaussian
  • Say that it is the thermal noise gaussian
  • Shaded?

Per source breakdown:

  • Move Stop reason to top of the page
    • Mouse over and pop up?

Make stop reasons parsable for later

  • Preferred to be done in weblog → Actually the casalog is what we want, so we won't have to parse html. (PS: oops sorry, I knew this; my brain must not have been connected to my hands...) → actually, putting it in a QA metric so that it goes in the aquareport is even better, so we don't have to parse anything (smile)
  • As well as anything else that we might want a cycles worth of information

collapsable per-solint features are confusing → different from rest of the weblog

  • Normally would click on something and go to details on another page

initial, final should pull up something similar to hif_makeimages, additional QA, N panel plot

  • most concerned with final

    • sol. Summary - > selfcal solution interval summary
    • 'Sol.' in row names → Solutions
  • Need 'View Other QA images'-type page page to show model, residual, mask, PB, and psf.
  • The prior/post plots should show the same information per solint that is shown on the main page for consistency.
  • Add typical scan length in seconds next to 'inf_EB' and 'inf'; e.g., inf_EB (4400s)   |    inf (180s)  |

Stop Reason reporting:

  • Make summary table
    • After selfcal task, a brief summary should be written to the CASA log for selfcal that should mirror the summary table at the top
      • Start with 'Begin Selfcal Summary...'
      • List target, band, last successful solint, stop reason (comma separated)
      • End with 'End Selfcal Summary.'
    • Something similar would be useful for the AQUA report, ALMA will need to define what they need.

Proposed QA metrics

  • S/N and RMS metrics
    • overall S/N increased, but near-field S/N decreases
    • S/N increases, but RMS increases
    • S/N decreases and RMS decreases
    • reductions in S/N for some prior/post per-spw images ( if we decide we want to be making these)
    • Look at vis amp vs. uvd for correction of decorrelation
  • Flagging metrics
    • Excessive flagging on certain EBs
      • most relevant to many EB datasets where a couple EBs with lots of failed solutions would not result in beam changing significantly
    • beam size increases (within the allowed 5%)
    • Number of long baseline antennas flagged (and passed through)
  • Calibration metrics
    • Multiple reference antenna changes on final accepted solution interval in gaincal
    • Large phase corrections on >2 antennas
      • Define large (> 90 deg?)
      • Separate determination for inf_EB and inf
        • inf_EB - system issues
        • inf - phase decorrelation

...