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

Typos and other cleanup #90

Merged
merged 21 commits into from
May 30, 2023

Conversation

JuanCab
Copy link
Contributor

@JuanCab JuanCab commented May 26, 2023

So I have worked to do the following:

  • Fixed up source code in various places to export (via __all__ list) most of their functions and classes. This also required editing some of the __init__.py source files to import the source files. Most of the changes were in visualization directory of stellarphot.
  • Fixed the documentation configuration to know it is making stellarphot and not glowing-waffles documentation and also to search in additional source code locations (notably analysis.py and source_detection.py.
  • Removed unnecessary coordinates.py file which defined one function used in one spot in photometry.py once. Added the call to retrieve WCS data directly to photometry.py.
  • All references to np.float, np.int, and np.bool replaced with float, int, and bool respectively since those aliases were deprecated in NumPy 1.20 and removed in NumPy 1.24.

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.

Looking good, just some minor changes. We should maybe change to automating code style things/use black

stellarphot/differential_photometry/__init__.py Outdated Show resolved Hide resolved
stellarphot/analysis/__init__.py Outdated Show resolved Hide resolved
stellarphot/photometry.py Show resolved Hide resolved
stellarphot/source_detection.py Outdated Show resolved Hide resolved
stellarphot/visualization/fits_opener.py Show resolved Hide resolved
@mwcraig mwcraig merged commit 6e14776 into feder-observatory:main May 30, 2023
@mwcraig
Copy link
Contributor

mwcraig commented May 30, 2023

Thanks, @JuanCab

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