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

Issue #6: Changing default aperture in lsst_comet_activity.py #7

Merged
merged 4 commits into from
Aug 31, 2023

Conversation

astronomerritt
Copy link
Collaborator

Change Description

Closes #6. The default aperture used by lsst_comet_activity.py was set to the seeing. As per conversation with Colin Snodgrass outlined in the issue, using the seeing will cause comets to seem brighter at poorer seeing, which is obviously not the case.

  • My PR includes a link to the issue that I am addressing

Solution Description

I have simply changed the aperture to 1 arcsec. The user may feel free to change it to something larger at their own risk (lsstcomet assumes infinite coma, so large apertures will produce spurious results).

I have also updated the test.

Code Quality

  • I have read the Contribution Guide
  • My code follows the code style of this project
  • My code builds (or compiles) cleanly without any errors or warnings
  • My code contains relevant comments and necessary documentation

Project-Specific Pull Request Checklists

Other Change Checklist

  • Any new or updated docstrings use the NumPy docstring format.
  • I have updated the tutorial to highlight my new feature (if appropriate)
  • I have added unit/End-to-End (E2E) test cases to cover any changes
  • My change includes a breaking change
    • My change includes backwards compatibility and deprecation warnings (if possible)

Copy link
Contributor

@drewoldag drewoldag left a comment

Choose a reason for hiding this comment

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

From a software engineering perspective this is fine. I'll leave it to @mschwamb to verify the science side of things :)

@mschwamb
Copy link
Collaborator

All fine, though can you add a comment @astronomerritt explaining what the default hardcoded value is/represents ?

@astronomerritt astronomerritt merged commit f695e7c into dirac-institute:main Aug 31, 2023
5 checks passed
@astronomerritt astronomerritt deleted the changing_rap branch August 31, 2023 13:57
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.

changing rap in comet calculation lsst_comet_activity.py
3 participants