Skip to content

Installation

Erwan edited this page Jul 27, 2023 · 3 revisions

Prerequisite

You must install python 3 on the computer.

You should have installed git.

You must have at least one of this system installed and ready :

  • ASCOM : https://ascom-standards.org/ ASCOM stands for the "Astronomy Common Object Model." It is a software framework and platform designed specifically for astronomers and astrophotographers to facilitate communication and data exchange between various astronomical equipment and software applications. The goal of ASCOM is to create a standardized interface for astronomical devices, such as telescopes, focusers, cameras, and other accessories, allowing them to be controlled by astronomy software from different vendors. This means that you can use one astronomy program to control different types of telescopes or cameras, as long as they support the ASCOM platform.

  • Indi : https://indilib.org/ INDI Library is an open source software to control astronomical equipment. It is based on the Instrument Neutral Distributed Interface (INDI) protocol and acts as a bridge between software clients and hardware devices. Since it is network transparent, it enables you to communicate with your equipment transparently over any network without requiring any 3rd party software. It is simple enough to control a single backyard telescope, and powerful enough to control state of the art observatories across multiple locations

Finally, to be able to platesolve some images, you will need to install locally astap or astrometry.net :

  • Astap (**astap_cli is required **)
  • Astrometry : You can use the script astrometry to install it on Linux.

Installation

For Linux

git clone https://github.com/air01a/EasyAstro.git
cd easyastro/back
python -m venv .
source bin/activate
pip install -r requirements.txt

If you have an error with libindi (ubuntu 22.04), please use the commnd :

pip3 uninstall pyindi-client
pip install --use-pep517 --upgrade git+https://github.com/indilib/pyindi-client.git#egg=pyindi-client

For Windows

git clone https://github.com/air01a/EasyAstro.git
cd easyastro\back
python -m venv .
source bin\activate
pip install -r requirements_win.txt

Configuration

For Linux

cp easyastro.conf /etc

For Windows

The file easyastro.conf in the directory will be used.

[HTTP]
PORT=8000

[DEVICE]
#TELESCOPE=Telescope Simulator
#CCD=CCD Simulator
#TELESCOPE=AZ-GTi Alt-Az WiFi
#CCD=ZWO CCD
TELESCOPE=ASCOM.Simulator.Telescope
CCD=ASCOM.Sky_Simulator.Camera
FOCALE=650
APPERTURE=130
PIXELSIZE=3
SENSORDIAG=14.1

[INDI]
SERVER=127.0.0.1
PORT=7624

[PLATESOLVER]
PROGRAM=ASTAP
SEARCH_RADIUS=10
DOWNSAMPLE_FACTOR=0
MAX_STARS=400
FOV=0.36
CATALOG=c:/Program Files/astap/


[WORKFLOW]
TMP_DIR=/tmp
STORAGE_DIR=/tmp

[LOCATION]
LON=3.130800
LAT=50.66939
HEIGHT=30

[IMAGING]
MAX_EXPO_AUTO=30

Clone this wiki locally