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

New forced-photometry loaders #170

Merged
merged 43 commits into from
Nov 28, 2024
Merged

New forced-photometry loaders #170

merged 43 commits into from
Nov 28, 2024

Conversation

jvansanten
Copy link
Contributor

@jvansanten jvansanten commented Nov 27, 2024

Thus spake our Metal Lord 🤖:

This pull request introduces several significant changes across multiple files to enhance the functionality and performance of the Ampel-ZTF project. The most important changes include the addition of a new alert supplier, updates to existing alert suppliers, and improvements to data point shaping and tabulation.

New Features:

  • ampel/ztf/alert/BTSForcedPhotometryAlertSupplier.py: Added a new alert supplier class BTSForcedPhotometryAlertSupplier for handling baseline corrected IPAC forced photometry files produced by the BTS group. This class includes methods for loading and processing photometry data, handling candidate coordinates, and generating alerts.
  • ampel/ztf/view/ZTFFPTabulator.py: Introduced a new tabulator class ZTFFPTabulator for filtering and tabulating forced photometry data points. This class includes methods for filtering detections, creating flux tables, and retrieving positions and stock IDs.

Updates to Existing Alert Suppliers:

Data Point Shaping Improvements:

  • ampel/ztf/ingest/ZiDataPointShaper.py: Enhanced the ZiDataPointShaperBase class by adding a digest_size attribute and a _create_datapoint method for creating data points with hashed IDs. This update also includes handling of forced photometry data points. [1] [2] [3] [4]

Other Changes:

These changes collectively enhance the system's ability to process and analyze photometry data, improving both functionality and performance.

jvansanten and others added 30 commits December 21, 2023 08:36
NB: this skips tests that depend on arbitrary secrets like ARCHIVE_TOPIC_TOKEN
* chore(deps): update minor updates

* chore(deps): bump ampel-core

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jakob van Santen <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@jvansanten jvansanten merged commit 9d8b756 into master Nov 28, 2024
6 checks passed
@jvansanten jvansanten deleted the newFPloaders branch November 28, 2024 12:49
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.

3 participants