astropy / astropy/astroplan

Initialize altitude constraint from profile

Open
#577 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
225
Forks
121
Avg merge
28m
Merged PRs (30d)
1

Description

According to your documentation this doesn't seem possible.

I have an astropy table with zenith and azimuth columns containing measurements of the horizon profile as seen from an observatory.

I would like to define the altitude constraint for my observation by using the measurements values.

The implementation of this might be done in this way:

- add a new method `.from_table()` to the `AltitudeConstraint` class to load the table
- modify the class constructor in a way that if a table is defined instead of `min`/`max` values, than the max altitude value is given by the zenith profile
- modify `AltitudeConstraint.compute_constraint` to account also for the azimutal progression of the transit

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the AltitudeConstraint class and its compute_constraint method, then review the documentation referenced in the issue. Determine how an astropy table containing zenith and azimuth measurements should be loaded and how the profile should affect altitude over azimuth. Done means a table-based constraint can be defined and applied across the azimuthal progression.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.