Metadata-Version: 2.1
Name: zptess
Version: 5.4.19
Summary: TESS-W calibration tool
Author-email: Rafael González <rafael08@ucm.es>
License: MIT
Project-URL: Homepage, https://github.com/STARS4ALL/zptess
Project-URL: Repository, https://github.com/STARS4ALL/zptess.git
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: SQL
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: POSIX :: Linux
Classifier: Topic :: Scientific/Engineering :: Astronomy
Classifier: Topic :: Scientific/Engineering :: Atmospheric Science
Classifier: Intended Audience :: Science/Research
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: Natural Language :: Spanish
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: treq
Requires-Dist: pyserial
Requires-Dist: pypubsub
Requires-Dist: tabulate
Requires-Dist: Pillow
Requires-Dist: python-decouple

# TESS calibration tool

Calibration tool for the [TESS-W photometer](https://tess.stars4all.eu/) and derivates.
Works both in command line and GUI mode using Tkinter.


## GUI Mode

1. type `zptess` to launch gui

![Main Panel](doc/image/main.png)
![About](doc/image/about.png)

## CLI Mode

### Summary

1. `zpbegin` to open a calibration batch
2. one or several of `zptessw`, `zptas`, `zptessp` commands for calibration
3. `zpend` to close the calibration batch
4. `zpexport` to export the results and email

### Detailed

#### Open a calibration batch
```bash
zpbegin
2021-11-06 17:36:37,397 [INFO] ============== zptool 0+unknown ==============
2021-11-06 17:36:37,397 [INFO] Opened database file zptess.db
2021-11-06 17:36:37,470 [INFO] A new batch has been opened
```

#### Calibrate one or several photometers

1.a Check the test photometer identity
```bash
zptessw -a {author} -o {offset} -d
````

1.b Alternatively, run a full calibration run without updating neither the database nor photometer ZP
```bash
zptessw -a {author} -o {offset} -t
````

2.a Calibrate and update the Zero Point
```bash
zptessw -a {author} -o {offset} -u
```

2.a Alternatively, run a full calibration run without updating photometer ZP
```bash
zptessw -a {author} -o {offset}
```

#### Close a calibration batch
```bash
zpend
2021-11-06 17:37:40,678 [INFO] ============== zptool 0+unknown ==============
2021-11-06 17:37:40,678 [INFO] Opened database file zptess.db
2021-11-06 17:37:40,739 [INFO] Current open batch has been closed
```
#### Export callibration batch results and optionally email with the results
```bash
zpexport
```
