Skip to content

DM-57267: review of prompt tutorials 202.1 -- 202.3 - #262

Merged
MelissaGraham merged 2 commits into
mainfrom
tickets/DM-57267
Dec 4, 2026
Merged

MelissaGraham merged 2 commits into
mainfrom
tickets/DM-57267

Conversation

@garrethmartin

Copy link
Copy Markdown
Contributor

small fixes:

  • updated support link
  • sorted schema tables by column name before display
  • typos

202.1:

  • added units to Fig 3 and 6
  • Fig 5 right-panel title changed to "cropped at 400 s", which matches the y-limit

202.2:

  • text changed to say "detector 94", which matches the code
  • small changes to wording
  • Fig 1 axis labels corrected to [deg] from [arcsec]
  • section 4 Note -> Warning
  • section numbering: S.3.2.1" and "S.3.2.2." -> "Section 3.2.1" and "Section 3.2.2".

202.3:

  • section 2 text: DiaSource -> DiaForcedSource
  • the to_table() attribute" changed to "method"

@review-notebook-app

Copy link
Copy Markdown

Review Notebooks

Notebooks changed:

Review visual diffs and comment on any notebook cell. All comments sync back to this PR.


Powered by ReviewNB

@garrethmartin

garrethmartin commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor Author

i've also placed the same comments at the appropriate places via Review NB

all notebooks

  • plot titles use f-strings (f"LSST-AP-DO-{...}"), which RTN-045 asks to avoid because of the spellchecker. should use "LSST-AP-DO-{}".format(...).
  • for f, filt in enumerate(filter_names) never uses f; consider looping over filter_names directly.

202.1 DiaObject table

  • Section 3.2 says the table "is stored in Qserv" and gives Qserv sharding as the reason to use spatial constraints. on ppdbtap, the tap_schema description of the dp2_prompt schema refers to "the PPDB BigQuery database", which suggests the PPDB is not in Qserv. is that correct?.
  • flake8-nb fails with F401 're' imported but unused, because re is only used in commented-out option cells. could make the [ugrizy]_psfFluxMean` search live?
  • figs 3 and 4: i would set the same range and number of bins for both histograms so they can be compared directly.
  • fig 6: the y-axis labels overlap each other and the x-axis labels overlap the x tick labels.
  • fig 1 shows RA increasing to the right. East-left is the RTN-045 convention for images; for a scatter plot it is optional, but inverting the x-axis would match the sky.

202.2 DiaSource table

  • the "Related tutorials" paragraph refers to a 200-level tutorial on difference_images, confusing because this presumably refers to a DP1/DP2 tutorial and not a Prompt tutorial. or is there a prompt tutorial also planned?
  • same flake8-nb fails with F401 're' imported but unused as in 202.1.
  • Section 4 has an "Optional exercise" in the middle of the notebook. maybe this should go at the end?
  • fig 2: the legend includes u and y, which have no detections for this object.

202.3 DiaForcedSource table

  • Section 2.2.3 lists scienceFlux, psfDiffFluxErr, but i don't think there is a psfDiffFluxErr column in ppdb.DiaForcedSource. according to tap_schema, the uncertainty on scienceFlux is scienceFluxErr.
  • the "Related tutorials" paragraph refers to a 200-level tutorial on difference_images; see point for 202.2.
  • i don't think it is stored with Qserv; see the point for 202.1.
  • Section 4.1 hard-codes diaObjectId in the DiaSource query, but the same ID was retrieved in Section 3.2.1. i would consider keeping it in a variable.
  • in figs 2 and 3 the detections (open symbols) are not in the legend.

@garrethmartin garrethmartin changed the title Tickets/dm 57267 Tickets/DM-57267 Dec 4, 2026
@garrethmartin garrethmartin changed the title Tickets/DM-57267 DM-57267: review of prompt tutorials 202.1 -- 202.3 Dec 4, 2026
@MelissaGraham
MelissaGraham self-requested a review December 4, 2026 19:23
@MelissaGraham

Copy link
Copy Markdown
Contributor

Bypassing mobu check and merging.

@MelissaGraham
MelissaGraham merged commit 8d99a25 into main Dec 4, 2026
1 check passed
@MelissaGraham
MelissaGraham deleted the tickets/DM-57267 branch December 4, 2026 19:25
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.

2 participants