Skip to content

Add the pixels which ESIS leaves out of the fit to the MART roadmap - #53

Open
roytsmart wants to merge 1 commit into
mainfrom
docs/roadmap-pixel-mask
Open

roytsmart wants to merge 1 commit into
mainfrom
docs/roadmap-pixel-mask

Conversation

@roytsmart

Copy link
Copy Markdown
Contributor

The Level-4 product of tempest left some pixels of each sensor out of the fit, and the roadmap did not mention them. This adds them.

Why

The mask over the storage region of each ESIS sensor is slightly misaligned and shades a strip of active columns at the short-wavelength edge, about 8 to 22 of them depending on the channel. The optical model predicts He I 584 Å there, so MART darkens the scene to match columns which were never lit. Tempest removed the weights of those pixels, and of a border of 4 pixels around each sensor, from the forward weights and their transpose. ctis has no way to leave a pixel out of an inversion.

What changes

Only docs/roadmap/cuda-mart.rst:

  • Design, a new item, "Pixels left out of the fit, at ESIS scale": the entries of those pixels are set to zero in each block of weights before it is counted and placed, and the builder drops exact zeros, so both operators lose them. Which pixels to leave out stays in esis.
  • Milestones: M8 brings the pixels left out along with the tied model.
  • Risks and open questions, a new item, "Pixels the model does not describe (M6, M8)":
    • the streamed build of M6 has to hand each block of weights to its caller before it is counted and placed, which is not designed yet;
    • a pixel without weights is still counted in the mean chi squared wherever the sensor has read noise, as a pixel which fits exactly;
    • marking the pixels as not a number in the images does not work today: the mean chi squared of the channel becomes not a number, and a scene cell touching such a pixel takes no correction from that channel;
    • the widths of the shadow were measured in July and should be measured again;
    • two other homes considered: an option on MartInverter, or an aperture over the sensor in the optical model of esis.

Checked

The two statements about the kernels were probed on merit and update of ctis/inverters/_iterative/_mart/_kernels.py, with four pixels and one voxel. The docs were not built locally.

🤖 Generated with Claude Code

https://claude.ai/code/session_013REu9FhsgQaUpbNRWYY5nf

The product of tempest left out the shadow of the storage mask on each
sensor and a border of 4 pixels, by removing their weights, and ctis has
no way to leave a pixel out of an inversion. The roadmap now says how
the matrices do it (zeros in each block of weights, which the builder
drops), that M8 brings it, and what is open: the count of the mean chi
squared, pixels marked as not a number, and the widths of the shadow.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013REu9FhsgQaUpbNRWYY5nf
@codecov

codecov Bot commented Nov 23, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (44a2f61) to head (bb09c08).

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #53   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           29        29           
  Lines         4437      4437           
=========================================
  Hits          4437      4437           
Flag Coverage Δ
unittests 100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant