CLI Example#
In this example the usage of the CLI of PHRINGE is demonstrated. A synthetic data set for an Earth twin orbiting a Sun twin at 10 pc is generated from two input files. Note that no spectrum file is provided for the planet and, thus, a blackbody spectrum will be generated for it.
Download the Configuration File#
Open a terminal and enter the following command to download the configuration file:
wget -O config.py https://raw.githubusercontent.com/pahuber/PHRINGE/main/docs/_static/config.py
Run PHRINGE#
To generate the synthetic data run the following command in the terminal:
phringe config.py
Output#
This will create a directory called out_{timestamp} containing a FITS file with the synthetic photometry data and a copy of the two input files. Opening the FITS file in a FITS viewer will reveal (due to the randomness involved) something similar to the following image:
Here, the brightness corresponds to the photon counts, while the x-axis corresponds to time and the y-axis to wavelength /spectral channel.