Repository navigation
Add a tutorial inverting AIA and XRT images for the DEM of a jet - #4
Merged
Merged
Conversation
The tutorial finds the DEM of event E of Parker et al. (2022), a jet observed during the ESIS flight on 2019 September 30, from six AIA channels and XRT Al_poly. It co-aligns XRT with the SolarSoft coalignment database, blurs AIA to the resolution of XRT and sums it onto the XRT pixels, and inverts with utu.dem.plowman, from AIA alone where XRT saturates. The noise of XRT is measured from the differences of consecutive images. It is about a sixth of the variance of the model of Kobelski et al. (2014), and is correlated between neighboring pixels, more inside the 8 x 8 blocks of the JPEG compression than across their edges, which we attribute to charge diffusion and compression. The uncertainty of XRT is scaled to the measured noise until there is a model of both. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011VGPHLGJi8acbuLYSfBHTk
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4 +/- ##
=======================================
Coverage 99.84% 99.84%
=======================================
Files 18 18
Lines 1968 1968
=======================================
Hits 1965 1965
Misses 3 3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
…, and add a false-color DEM. XRT saturates only 6 pixels of 18:08:19 and 3 of 18:08:37, so the tutorial inverts the image just before them and drops the AIA-only patch, which predicted about 14 times the XRT observed. JSOC selects AIA images by their 12 s slot, so the image in each channel whose exposure is centered closest to the XRT middle is kept, instead of the first one found. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011VGPHLGJi8acbuLYSfBHTk
…n, and correct 94 Å for the lines CHIANTI is missing. The far wing of the 335 Å passband takes in O V 629.7 Å and the other transition-region lines between 550 and 800 Å, so 335 Å responds more at log T 5.2-5.4 than at its Fe XVI peak. A DEM starting at 5.5 could not make the observed 335 Å, which left 145 pixels with reduced chi2 above 3; now one does. chiantifix (Boerner et al. 2014) raises the predicted 94 Å from about half of the observed to about 80%. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011VGPHLGJi8acbuLYSfBHTk
4 tasks done
hinode.xrt.open now corrects the pointing with the AIA co-alignment database by default (#5), so the manual cell that read the database and shifted CRVAL is replaced by showing xrt.coalignment. The pointing is the same to 5e-7 arcsec, so the numbers in the text are unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011VGPHLGJi8acbuLYSfBHTk
…ch are per pixel of different sizes, not because the regridded images differ. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011VGPHLGJi8acbuLYSfBHTk
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011VGPHLGJi8acbuLYSfBHTk
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
docs/tutorials/dem.rst, a tutorial that finds the DEM of a coronal jet from six AIA channels and XRT Al_poly. The jet is event E of Parker et al. (2022), observed during the ESIS flight on 2019-09-30.What the tutorial does
hinode.xrt.opennow does this by default (Correct the pointing of XRT images with the co-alignment databases of SolarSoft, by default from the cross-correlation with AIA. #5): it moves the center of the image to the position in the SolarSoft coalignment database from the cross-correlation with AIA (Yoshimura & McKenzie 2015), asxrt_read_coaldb, /aia_ccdoes. The tutorial just showsxrt.coalignment(1, the cross-correlation with AIA). For this image the shift is −0.34″, +0.68″, and the pointing matches the manual shift this PR used to apply to within 5×10⁻⁷″, so none of the numbers in the text change.T_REC), and an image can be taken up to 12 s after the start of its slot, so a search returns images outside the range too. Taking the first one, as before, put 94, 211 and 335 Å 8 to 10 s from the XRT middle; now all six are within 0.7 to 5.3 s.sdo.aia.uncertainty, summed onto the XRT pixels. It is scaled by how much the blur and the regridding average down white noise, a factor of 0.156 in variance. Without that factor the AIA noise is overestimated, and the inversion fits AIA better than its noise warrants and XRT worse.Filtergram.uncertaintyof both frames, with F at log T 6.3, in quiet pixels outside the box around the jet:chiantifix, the empirical correction of Boerner et al. (2014) for the lines near 1 MK that CHIANTI is missing from 94 Å. Without it the DEM predicts about half of the observed 94 Å; with it, about 80%. Both responses are evaluated at the time of the images (AIA degradation, XRT contamination).utu.dem.plowman(smoothness 8) on log T 5.0 to 7.5, on all seven channels at every pixel, and on AIA alone for comparison. Over most of the box, the DEM from AIA alone predicts 3 to 18 times the observed XRT, with a median of 9.named_arrays.colorsynthas in the sdo tutorial (linear scale up to the 99.5th percentile), the DEMs of the base and of the spire (joint and AIA only), and maps of χ² and of predicted over observed XRT.The inversion runs at full XRT resolution, by choice, until we've looked at the results.
Other changes
solar-dynamics-observatory>=1.2, which is the first release with the AIA temperature response, andutu>=0.3.Things to know
sdo.aia.open. Earlier today JSOC answeredNoDataDirectoryfor every AIA record for a few hours, which would break the docs build while it lasts.chi2_targetfits it a little more closely (1.14 at 0.5). The DEM also predicts about 20% less 94 Å than observed, even withchiantifix.Test plan
sphinx-build -b html docs docs/_buildsucceeds locally with every cell executing, with one benign astropyVerifyWarningaboutBLANKin the AIA headers.🤖 Generated with Claude Code
https://claude.ai/code/session_011VGPHLGJi8acbuLYSfBHTk