Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DM-43269: Refactor StarTracker code #94

Merged
merged 5 commits into from
Mar 12, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
13 changes: 11 additions & 2 deletions python/lsst/summit/utils/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,24 +58,33 @@
"countPixels",
"quickSmooth",
"argMax2d",
"dayObsIntToString",

Choose a reason for hiding this comment

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

Pre-existing, but wondering about the AUXTEL_LOCATION import dance?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

People just couldn't find it before (it's hidden in the .translators on obs_lsst), so I reexported it here, because it's useful and needed to be more visible. It's not great, but I think it's not good to remove it now either, because people might be relying on it. At least I'm not hard-coding the value 🙂 (and also this package is guaranteed to be way below that in the build chain).

"dayObsSeqNumToVisitId",
"getImageStats",
"detectObjectsInExp",
"fluxesFromFootprints",
"fluxFromFootprint",
"humanNameForCelestialObject",
"getFocusFromHeader",
"dayObsIntToString",
"dayObsSeqNumToVisitId",
"checkStackSetup",
"setupLogging",
"getCurrentDayObs_datetime",
"getCurrentDayObs_int",
"getCurrentDayObs_humanStr",
"getExpRecordAge",
"getSite",
"getAltAzFromSkyPosition",
"getExpPositionOffset",
"starTrackerFileToExposure",
"obsInfoToDict",
"getFieldNameAndTileNumber",
"getAirmassSeeingCorrection",
"getFilterSeeingCorrection",
"getCdf",
"getQuantiles",
"digitizeData",
"getBboxAround",
"bboxToMatplotlibRectanle",
]


Expand Down