Commit 1748bfc6 authored by Davide Ricci's avatar Davide Ricci
Browse files

Edit README.md

parent 735aff2c
Loading
Loading
Loading
Loading
Loading
+36 −2
Original line number Diff line number Diff line
@@ -66,8 +66,42 @@ n.write_noctis_fits("file_with_new_header.fits")

```

## Use the daemon

## Usage Example
Edit `noche/config/daemon_config.ini`:

```
[Daemon]                                                                     
monitor_directory = ./input_fits    # Monitors new files (not existing ones) 
output_directory = ./processed_fits # If same as monitor, overwrites!        
observatory_config = oarpaf         # or path/to/your/config.ini             
use_noctis_output_filename = True  # True/False. False use same as input     
header_template =                                                            
                                                                             
[Logging]                                                                    
level = INFO # DEBUG, INFO, WARNING, ERROR, CRITICAL
```

Then run in the console:
```
noche-daemon
```
and see that the new FITS files in the `monitor_directory` are processed into `output_directory`.

## Use the GUI:

Run:
```
noche-gui
```
and convert manually or automatically.


---

# Details of the software.

## More Examples
```python
from noche import Noche
from astropy.time import Time
@@ -109,7 +143,7 @@ n.check_empty()

---

## Class and Method Documentation
# Class and Method Documentation

### `class Noche`
Builds and maintains an astropy FITS header for astronomical observations.