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

UVW support #15

Merged
merged 14 commits into from
Jan 3, 2025
Merged

UVW support #15

merged 14 commits into from
Jan 3, 2025

Conversation

aelanman
Copy link
Owner

Adds an interface to the computed UVW coordinates, and tests the CALC uvw coordinates against a similar calculation in astropy.

This also adds a way to set various debugging flags in CALC, which will cause certain modules to print debug information. This isn't very user-friendly, but can be useful in development. As a future task, we should think about ways to clean up debug information on the fortran side and support multiple levels of verbosity.

While working on this, I found that the atmosphere module is still used for some things even if the Add-dry / Add-wet options are disabled. Certain uvw calculation modes include troposphere refraction. This should be documented further. There are special flags to control which modules get used, which may be useful for better controlling these things.

Base automatically changed from use_skbuild_core to main January 3, 2025 18:54
aelanman and others added 13 commits January 3, 2025 13:55
* add GH actions to run linting and unit tests

* big changes to meet ruff formatting standards

* blacken

* fix numpy reqs for py39

* rearrange into src/package directory structure

* fix warnings in tests

* explicitly set up fortran in GH actions

---------

Co-authored-by: aelanman <[email protected]>
* add control over debugging output flags

* testing uvw coordinates against astropy

* uvw access in imfile reader
@aelanman aelanman merged commit 96c0a5f into main Jan 3, 2025
10 checks passed
@aelanman aelanman deleted the uvw branch January 3, 2025 19:26
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.

1 participant