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

Extensive revisions to docstrings throughout the stellarphot package #97

Merged
merged 35 commits into from
Jun 14, 2023

Conversation

JuanCab
Copy link
Contributor

@JuanCab JuanCab commented Jun 9, 2023

I basically went through the entire package and added docstrings for all public functions and packages where they were missing as well as trying to revise incomplete docstrings.

I got a lot of help with GitHub Copilot and while I tried to perform reality checks on the meanings of things, I may well be in error in some places.

Some issues to watch for:

  • My inline math for calculate_noise in photometry.py is not rendering properly in sphinx construction of documentation.
  • I need the author of the code to review as much of the documentation as they can and make sure the descriptions are accurate.
  • I am a bit concerned that in some places it just says 'array-like' instead of 'array of floats' etc. Do we need more precise language in some places?

@mwcraig
Copy link
Contributor

mwcraig commented Jun 12, 2023

Thanks, @JuanCab -- reviewing

Copy link
Contributor

@mwcraig mwcraig left a comment

Choose a reason for hiding this comment

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

This is a pretty epic PR! We may need to discuss some of the suggested changes. If there ones that you agree with I would go ahead and accept them. After doing that you will want to pull those commits from github to your local clone.

stellarphot/analysis/exotic.py Outdated Show resolved Hide resolved
stellarphot/analysis/exotic.py Outdated Show resolved Hide resolved
stellarphot/analysis/exotic.py Outdated Show resolved Hide resolved
stellarphot/analysis/exotic.py Show resolved Hide resolved
stellarphot/analysis/exotic.py Outdated Show resolved Hide resolved
stellarphot/visualization/seeing_profile_functions.py Outdated Show resolved Hide resolved
stellarphot/visualization/seeing_profile_functions.py Outdated Show resolved Hide resolved
stellarphot/visualization/transit_plots.py Outdated Show resolved Hide resolved
stellarphot/visualization/transit_plots.py Outdated Show resolved Hide resolved
stellarphot/visualization/transit_plots.py Show resolved Hide resolved
Copy link
Contributor

@mwcraig mwcraig left a comment

Choose a reason for hiding this comment

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

This is a pretty epic PR! We may need to discuss some of the suggested changes. If there ones that you agree with I would go ahead and accept them. After doing that you will want to pull those commits from github to your local clone.

JuanCab and others added 15 commits June 12, 2023 14:13
Accepted this suggestion by Matt on PR#97.

Co-authored-by: Matt Craig <[email protected]>
Accepted this suggestion by Matt on PR#97.

Co-authored-by: Matt Craig <[email protected]>
Accepted this suggestion by Matt on PR#97.

Co-authored-by: Matt Craig <[email protected]>
Accepted this suggestion by Matt on PR#97.

Co-authored-by: Matt Craig <[email protected]>
Accepted this suggestion by Matt on PR#97.

Co-authored-by: Matt Craig <[email protected]>
Accepted this suggestion by Matt on PR#97.

Co-authored-by: Matt Craig <[email protected]>
Accepted this suggestion by Matt on PR#97.

Co-authored-by: Matt Craig <[email protected]>
Accepted this suggestion by Matt on PR#97.

Co-authored-by: Matt Craig <[email protected]>
Accepted this suggestion by Matt on PR#97.

Co-authored-by: Matt Craig <[email protected]>
Accepted this suggestion by Matt on PR#97.

Co-authored-by: Matt Craig <[email protected]>
Accepted this suggestion by Matt on PR#97.

Co-authored-by: Matt Craig <[email protected]>
Accepted this suggestion by Matt on PR#97.

Co-authored-by: Matt Craig <[email protected]>
Accepted this suggestion by Matt on PR#97.

Co-authored-by: Matt Craig <[email protected]>
Copy link
Contributor

@mwcraig mwcraig left a comment

Choose a reason for hiding this comment

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

Found one more little thing in looking over the changes

stellarphot/io/tess.py Outdated Show resolved Hide resolved
Accepted this suggestion by Matt on PR#97.

Co-authored-by: Matt Craig <[email protected]>
@mwcraig
Copy link
Contributor

mwcraig commented Jun 14, 2023

Thanks again, @JuanCab

@mwcraig mwcraig merged commit 8f8e5f7 into feder-observatory:main Jun 14, 2023
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