Skip to content

[Science module] Blazar low states#486

Merged
JulienPeloton merged 3 commits intomasterfrom
blazar_review
Jan 15, 2025
Merged

[Science module] Blazar low states#486
JulienPeloton merged 3 commits intomasterfrom
blazar_review

Conversation

@JulienPeloton
Copy link
Member

This PR incorporates development made by @JulianHamo in #483 and in addition:

  1. moves the Blazar dataset to another location
  2. fix the issue with the timestamp.

JulianHamo and others added 3 commits January 15, 2025 14:49
* Create processor.py

Creation of the low state detection module file

* CTAO blazar comparison file (parquet)

Computation from ZTF data release 22
Description:
- 3FGL Name: Name of the source inthe 3FGL catalog
- ZTF Name: ZTF tag associated beforehand
- Array of Medians: Medians used to standardize the flux (np.nan if no median could be computed)
- Computed Threshold: 10th percentile of the standardized flux from the data release
- Observed Threshold: Measured flux during a previous redshift detrmination attempt
- Redshift: Redshift found during the previous spectroscopic observation
- Final Threshold: Minimum between the Computed Threshold and the Observed Threshold

* First writing draft of processor.py

* Create utils.py

* Update processor.py

Refont after utils.py creation

* Update utils.py

Edit documentation of low_state_

* Create utils.py

* Add files via upload

CTAO blazar comparison file (parquet)
Computation from ZTF data release 22
Description:
- 3FGL Name: Name of the source inthe 3FGL catalog
- ZTF Name: ZTF tag associated beforehand
- Array of Medians: Medians used to standardize the flux (np.nan if no median could be computed)
- Computed Threshold: 10th percentile of the standardized flux from the data release
- Observed Threshold: Measured flux during a previous redshift detrmination attempt
- Redshift: Redshift found during the previous spectroscopic observation
- Final Threshold: Minimum between the Computed Threshold and the Observed Threshold

* Create processor.py

* Update utils.py

* Create __init__.py

* Create __init__.py

* Create README.md

* Update README.md

Page setting

* Create README.md

* Update processor.py

Update documentation

* Update utils.py

Fix name in standardized_flux_

* Update processor.py

Fix CTAO_PATH

* Update processor.py

Fix CTAO_PATH

* Update of CI script to run only on single modules

* Update of CI script to run only on single modules

* Update of CI script to run only on single modules

* Update of standardized_flux/utils.py

* Change from 'low' to 'quiescent'

* Documentation update

* PEP8 check test

* PEP8 fix

* __init__.py fix

* PEP8 fix test

* PEP8 fix test

* PEP8 fix test

* PEP8 fix test

* PEP8 fix test

* Datatest creation

* Shrinking of datatest size

* PEP8  fix

* Datatest path change

* Example fix

* Example fix

* Example fix

* Modification of tester.py

* Modification of CTAO_blazars path

* Modification of CTAO_blazars path

* Modification of CTAO_blazars path

* Modification of CTAO_blazars path

* Modification of CTAO_blazars path

* Example fix attempt

* Example fix attempt

* Example fix attempt

* PATH change

* Test addition

* Test addition

* Test addition

* Test addition

* Minor corrections

---------

Co-authored-by: Julian <julian@>
@JulienPeloton JulienPeloton added the bug Something isn't working label Jan 15, 2025
@JulienPeloton JulienPeloton changed the title Fix timestamp issue in the Blazar dataset [Science module] Blazar low state Jan 15, 2025
@JulienPeloton JulienPeloton changed the title [Science module] Blazar low state [Science module] Blazar low states Jan 15, 2025
@JulienPeloton JulienPeloton merged commit f588510 into master Jan 15, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants