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

Add Maximum brightness functions #35

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

astjoephysics
Copy link

@astjoephysics astjoephysics commented Jan 10, 2025

Adds functions that return the maximum brightness of an object after applying a lightcurve and/or activity module.

Also, the function checkPysical() in lsst_comet_activity.py to check whether or not the k value was negative or not was broken as it was checking the boolean value of the array rather than the values inside the array. Changed it so that it checks if any value in the array is positive or not, then if so return a ValueError that tells the user to go back and recheck their complex physical parameters file

@astjoephysics astjoephysics changed the title Small tweaks to lsst_comet_activity to fix bugs Add Maximum brightness functions Jan 10, 2025
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