Commit 412c95d8 authored by vertighel's avatar vertighel
Browse files
parents 195f9750 1748bfc6
Loading
Loading
Loading
Loading
Loading
+36 −2
Original line number Original line 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
```python
from noche import Noche
from noche import Noche
from astropy.time import Time
from astropy.time import Time
@@ -109,7 +143,7 @@ n.check_empty()


---
---


## Class and Method Documentation
# Class and Method Documentation


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