Skip to content

Add SPHEREx Spectrophotometry Tool notebook - #423

Merged
bsipocz merged 1 commit into
Caltech-IPAC:mainfrom
jkrick:spherex-spectrophotometry
Dec 1, 2026
Merged

bsipocz merged 1 commit into
Caltech-IPAC:mainfrom
jkrick:spherex-spectrophotometry

Conversation

@jkrick

@jkrick jkrick commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Releases the SPHEREx Standalone Spectrophotometry Tool notebook, which was reviewed and merged in IPAC-SW/irsa-datascience#233. It reproduces the IRSA Spectrophotometry Tool's multi-object forced photometry in Python using public spherex-pipelines code and IRSA cloud data.

Part of IPAC-SW/irsa-datascience#200.

Changes

  • New directory tutorials/spherex/spherex_spectrophotometry/ with the notebook, conda-spherex_spt.yml and build-spherex_spt-env.sh. The notebook is unchanged from irsa-datascience apart from the "Updated" date and the AI acknowledgement below.
  • Added an AI acknowledgement to the notebook's "About this Notebook" section: "This tutorial was developed with the assistance of AI tools."
  • Added to toc.yml, the SPHEREx gallery (spherex.md), notebook_metadata.yml and deploy_to_fornax_manifest.in.
  • Added to ignore_all_testing and ignore_rendering_execution, the same way as the Source Discovery Tool notebook, because it needs a conda environment.
  • Testing, rendering and the Fornax environment are tracked separately (IPAC-SW/irsa-datascience#185, Evaluate color contrast for code input/output cells and syntax highlighting in rendered html #186, Standardize formatting to improve accessibility #187).

Feedback requested: tutorial order

The new notebook sits after the Source Discovery Tool, so the two tool notebooks are together. With seven notebooks, the SPHEREx gallery now has rows of 3, 3 and 1. Please comment if you'd like a different order for the SPHEREx tutorials, in the TOC or the gallery.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jkrick jkrick self-assigned this Nov 30, 2026
@jkrick jkrick added the content: spherex Content related issues/PRs for notebooks with SPHEREx relevance label Nov 30, 2026
@jkrick
jkrick requested review from bsipocz and troyraen and removed request for troyraen November 30, 2026 21:48
@jkrick

jkrick commented Dec 1, 2026

Copy link
Copy Markdown
Contributor Author

@bsipocz can you please provide a review of the file organization, especially for the environment and testing files. The content of the notebook itself doesn't need review.

@bsipocz bsipocz left a comment

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.

Files looks good for now, and I'll figure out a way to execute this with its special env and somehow shuffle the outputs through cache to show on the rendering. But is should be decoupled from this content PR, so I go ahead and merge this now.

Note: others did code content review for the notebook previously, so I don't dive into it; again if needed adjustments can be done in follow-ups (e.g. I would hide a few more blocks of functions especially the ones that were written in a way to suggest they are private)

# Instead, conda-spherex_spt.yml installs psycopg2-binary (and other spherex-pipelines dependencies) and we skip here using --no-deps.
# SETUPTOOLS_SCM_PRETEND_VERSION works around a known spherex-pipelines issue: setuptools_scm cannot parse
# public tags such as 7.1.1+public.1, so building from them fails. Remove it once a fix is released.
SETUPTOOLS_SCM_PRETEND_VERSION=7.1.1+public.1 \

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.

I am surprised that this hack is needed when you build from the hash only, but since it's spelt out to be just a temp workaround I suppose it is all OK.

OTOH, I wonder how we plan to notice a new release and what our process should be updating the notebook and associated files.

@bsipocz
bsipocz merged commit 2cf157d into Caltech-IPAC:main Dec 1, 2026
8 checks passed
github-actions Bot pushed a commit that referenced this pull request Dec 1, 2026
Add SPHEREx Spectrophotometry Tool notebook 2cf157d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

content: spherex Content related issues/PRs for notebooks with SPHEREx relevance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants