Initialize altitude constraint from profile
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 theAltitudeConstraintclass to load the table - modify the class constructor in a way that if a table is defined instead of
min/maxvalues, than the max altitude value is given by the zenith profile - modify
AltitudeConstraint.compute_constraintto account also for the azimutal progression of the transit
That's a neat idea, I've wanted but never seen a measured table for azimuthally-resolved altitude constraints. I'm curious – what kind of observations do you do so near to the horizon?
The only way to satisfy this for now is to take the maximum altitude from your table and provided it as the minimum in the altitude constraint.
sorry for the late reply
the kind of measurements I do is with Imaging Atmospheric Cherenkov Telescopes from the Northern Hemisphere looking at sources along the galactic plane at positions or energy thresholds that require very large zenith angles
our observatory sits near a mountain/volcano so on one side of the observatory the mountain profile covers part of the field of view between 60° and 90° degrees zenith