Skip to content

Villanova workshop full guide 2 - making a GIF of CasA Chandra evolution - #311

Open
DavidT3 wants to merge 17 commits into
mainfrom
notebook/villanovaWorkshopGIFFullGuide
Open

DavidT3 wants to merge 17 commits into
mainfrom
notebook/villanovaWorkshopGIFFullGuide

Conversation

@DavidT3

@DavidT3 DavidT3 commented Oct 19, 2026 •

Copy link
Copy Markdown
Collaborator

Critical review criteria

The author of the pull request should make an effort to go through these check points and ensure that their submission satisfies each point - reviewers will also compare to these checklists.

Science review checklist

  • Does using high-energy data make up a significant part of the tutorial?
  • Is there a use case in the introduction that motivates the code?
  • Does the code do what the introduction says it is going to do?
  • Is it scientifically accurate?
  • Have all necessary references to literature been included?

Formatting checklist

  • Did you base your notebook on the HEASARC-tutorials template?
  • Are all sections in the HEASARC-tutorial template included in your notebook?
  • Is the notebook title compact and informative? It will be the name of the notebook on the HEASARC website!
  • Have you populated the notebook front-matter (the metadata at the top of the notebook)?
  • Is the kernel specified in the front-matter (e.g., heasoft, sas, ciao) correct for the notebook?
  • Have you added an entry for your notebook in the *_index.md file for the containing directory?
  • Is all plotting matplotlib (or alternative) plotting code in isolated cells, and do they have the metadata required to collapse the code when the notebook/website is viewed?

Tech review checklist

  • Documentation:
    • Is every function documented?
    • Do all code cells have corresponding narratives/comments?
    • Are all code comments of a purely technical nature? All narratives should be in Markdown cells.
    • Did you populate the 'Runtime' section?
  • Notebook execution, error handling, etc.:
    • Does the notebook run end-to-end, out of the box?
    • Are errors handled appropriately, with try/except statements that are narrow in scope?
    • Have warnings been dealt with appropriately, preferably by updating the code to avoid them (i.e., not by simply silencing them)?
  • Efficiency:
    • Is data accessed from the cloud where possible?
    • Is the code parallelized where possible?
    • If the notebook is intended to be scaled up, does it do that efficiently?
    • Is memory usage optimized where possible?
  • Cleanup:
    • Have blocks of code that need to be re-used been turned into functions and placed in the 'global setup'-'function' section?
    • Has unused code been removed (e.g., unused functions and commented-out lines)?
    • Are comment lines wrapped so all fit within a max of 90 - 100 characters per line?
    • Do plots use color-blind friendly palettes for plotting? Try this simulator for a visual check.

David Turner added 3 commits October 19, 2026 10:22
…lude the metadata necessary to cache files. For issue #299 indirectly
…iles work, and how to make a gif of the evolution of Cassiopeia A's X-ray emission. This includes the new metadata required to tell our infrastructure that it depends on another notebook. For issue #299
@DavidT3 DavidT3 self-assigned this Oct 19, 2026
@DavidT3 DavidT3 added enhancement New feature or request doc-content Changes or additions to the content of the documentation labels Oct 19, 2026
@DavidT3 DavidT3 linked an issue Oct 19, 2026 that may be closed by this pull request
David Turner added 11 commits October 19, 2026 12:11
…'t find a cached version. That was a silly thing to add. For issue #299 (indirectly)
…'t find a cached version. That was a silly thing to add. For issue #299 (indirectly)
… their data cannot be restored from cache.
… their data cannot be restored from cache.
…ull-guide.md notebook, as the subsequent notebook depends on it.
…ull-guide.md notebook, as the subsequent notebook depends on it.
…nd-evolution-gif-full-guide.md to the cached files, as it is required by the third notebook. For issue #299
@DavidT3
DavidT3 marked this pull request as ready for review October 20, 2026 13:13
@DavidT3
DavidT3 requested a review from mfacorcoran October 20, 2026 13:29
@DavidT3

DavidT3 commented Oct 20, 2026

Copy link
Copy Markdown
Collaborator Author

Hi @mfacorcoran - I'm getting the Villanova workshop notebooks included in HEASARC-tutorials, and was wondering if you could please review the 'Full Guide 2 - Watching a supernova remnant evolve!' notebook? Antara already reviewed it when we were preparing for the workshop so it should be pretty good already, but it would be nice to have a second set of eyes on it.

To access the rendered, executed, version (it definitely runs so you don't need to test that, unless you particularly want to), you can either go and click this:

Screenshot 2026-10-20 at 9 31 55 AM

Or, if that doesn't work (sometimes those links behave oddly on NASA machines, don't know why), you could go here:

https://output.circle-artifacts.com/output/job/441957cd-ea24-411b-8f12-20614235583d/artifacts/0/artifacts/html/tutorials/workshops/cassiopeiaa_evolution_chandra/2-fits-files-and-evolution-gif-full-guide.html

(though the above link will become outdated if I change the notebook at all and the checks re-run).

If you have comments on particular lines, you can go to the files changed tab at the top of this page:

Screenshot 2026-10-20 at 9 34 24 AM

Click on the 2-fits-files-and-evolution-gif-full-guide.md on the left hand side:

Screenshot 2026-10-20 at 9 36 05 AM

Then click 'load diff' and add review comments on specific lines. You can also click 'submit review' at the top right of the page, and just leave a general comment, or approve immediately, if you prefer.

Thanks!

@DavidT3

DavidT3 commented Nov 19, 2026 •

Copy link
Copy Markdown
Collaborator Author

Mike comments:

The science discussion seems fine, but you might want to address these more general science:

  • a brief discussion of what the “position” of an extended source like Cas A means might be good to include [pretty sure I talk about this in the third worksheet]
  • a brief discussion of how errors in the WCS in an observation can be handled (i.e. aligning each image on the position of a star or set of stars in the field). The current draft implies that the WCS values are “perfect”, which may not be the case. I don’t think it’s necessary to perform an alignment check in the notebook, just to note that the WCS might have errors for various reasons, and sometimes they can have significant impact on determining proper motions [added an admonition, probably will need editing as I am very tired and writing badly]
  • It would be good to distinguise the proper motion we see in the move with the actual space motion of the ejecta (for example ejecta along the line of sight shows no proper motion even if it has a high space velocity)
  • I’d suggest screening out the S-array image which only shows a portion of the remnant (and which depends on roll angle); certainly don’t use the S-array image for the first example image - use an ACIS-I image
  • pileup is discussed but it would be good to clarify that pileup depends on the photon count rate and is always present at some level for sources that are bright enough - but for this tutorial it would be sufficient to say that we’re ignoring pileup since it’s a small effect for Cas A (presumably)

Mike's full comments:
Full Guide 2_Mike Comments.pdf

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc-content Changes or additions to the content of the documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Villanova workshop - add GIF full guide notebook

1 participant