mirror of
https://codeberg.org/Yael-II/Astrobs-Tools.git
synced 2026-03-15 03:16:27 +01:00
75b5f93e6e65c7bfdbba26efef6d0f07ea59ddc2
Astronomical Observation Tools
Astronomical Observation Tools (Astrobs Tools) is composed of:
- SCOPE: a code to get the sky coordinate limits from observation constraints;
- EQUATOR: a software to organize targets before observations.
Requirements
Astrobs Tools requires Python 3.10 or newer
Setup
First step is to initialize a virtual environment for the software with:
python3 -m venv ./venv
Then install the required packages with:
source activate.sh && pip install -r requirements.txt && deactivate
You may also require to authorize the execution of Astrobs Tools with:
chmod u+x Astrobs-Tools.sh
Usage
To launch Astrobs tools, simply execute:
./Astrobs-Tools.sh
Then select the desired code
SCOPE
- Select a location (available location: ObAS, OHP) — default: (last one)
- Date of observation
[YYYY-MM-DD]- default: today - Begin time of observation
[hh:mm format, UTC]— default: astronomical twilight - End time of observation
[hh:mm format, UTC]— default: astronomical twilight - Minimum altitude above horizon
[deg]— default: 50° - Minimum declination around the north
[deg]— default: 30° - Observation window before crossing the meridian
[h]— default: 4h - Observation window after crossing the meridian
[h]- default: 2h
Observation parameters are then printed
- Write output to file
[yes/no]— default: no By default, the file is saved in the Output directory, with the nameYYYY-MM-DD_Location.cfg
EQUATOR
First, select a configuration file (if none, default is selected). Then, select the action you wish to perform.
Available commands (not case sensitive):
help,h,?: show this pagequit,exit,q: quit the current code (WARNING: this does not save the current state!)write,save: write the current table in a file (no options available yet)read [filename],open [filename]: loads the file "filename" in the current table (no additional options available yet)calibration,calib: adds a calibration in the target listsimbad [object name],object [object name]: add an object from simbadsearch [ra] [dec] [radius],region [ra] [dec] [radius]: search a region centred on the ra/dec coordinates, with a given radius (coordinates should be expressed as12h30m30s,90d30m30sor90.555d)sidereal,st: computes the sidereal time for each targetsequence,seq: computes the sequence order for each targetcheck: check if all targets are in the observation field
General actions:
cancel,back: cancels the current actionyes,y,1: yesno,n,0, or anything else: noall,*: select alldone,ok: confirm, save the current state and quit
Description
Languages
Python
99.3%
Shell
0.7%