Skip to content

Bug fix and update in calculation of PSF zones#293

Merged
afaisst merged 2 commits intomainfrom
fix_issue-289_Mar2026
Mar 26, 2026
Merged

Bug fix and update in calculation of PSF zones#293
afaisst merged 2 commits intomainfrom
fix_issue-289_Mar2026

Conversation

@afaisst
Copy link
Copy Markdown
Contributor

@afaisst afaisst commented Mar 25, 2026

While the zone pixel coordinate centers are 0-based, their names in the header (XCTR_1, etc) are 1-based.
This has been clarified in the text. Furthermore, the formula for the calculation of the distance between pixel and PSF zone centers has been updated to account for 0-based indexing.

Linked to issue, closes #289

Copy link
Copy Markdown
Member

@bsipocz bsipocz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

- name: Vandana Desai
- name: Jessica Krick
- name: Andreas Faisst
- name: "Brigitta Sip\u0151cz"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- name: "Brigitta Sip\u0151cz"
- name: Brigitta Sipőcz

Comment on lines +639 to +642

```{code-cell} ipython3

```
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
```{code-cell} ipython3
```

@bsipocz bsipocz added bug Something isn't working content: spherex Content related issues/PRs for notebooks with SPHEREx relevance labels Mar 25, 2026
Copy link
Copy Markdown
Contributor

@troyraen troyraen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks!

Is jupyterlab changing the author metadata automatically?

@bsipocz
Copy link
Copy Markdown
Member

bsipocz commented Mar 26, 2026

Is jupyterlab changing the author metadata automatically?

yes, I think so. It reorders the fields and messes up the encoding. It's on the level of being a papercut that I haven't yet explicitly reported it upstream to jupyterlab

@afaisst afaisst merged commit 99babf5 into main Mar 26, 2026
8 checks passed
@afaisst afaisst deleted the fix_issue-289_Mar2026 branch March 26, 2026 00:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working content: spherex Content related issues/PRs for notebooks with SPHEREx relevance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Clarify spherex 0 vs 1 indexing

3 participants