2020-05-26 22:10:21 +02:00
Currently ESBO-ETC supports the following two different types of targets. A configuration can contain only one target
which has to be contained in the container `` <astroscene> `` . Each target consists of the basic tag
`` <target> `` and possible other target-type specific attributes.
2020-06-29 10:41:41 +02:00
Each target can be either modelled as a point source or as an infinitely extended target. In case of a point-source,
a PSF will be used to determine the irradiance of each pixel. In case of a extended source, a uniform PSF is assumed,
ignoring the parameters :ref: `psf` , :ref: `jitter_sigma` , and some instrument specific parameters.
2020-05-26 22:10:21 +02:00
.. code-block :: xml
2020-06-29 10:41:41 +02:00
<target type="BlackBodyTarget"/>
2020-05-26 22:10:21 +02:00
Attributes:
* | **type:** str
| The type of the target. Currently, only :ref: `blackbodytarget` and :ref: `filetarget` are supported.
.. _blackbodytarget:
BlackBodyTarget
---------------
Model a target as a black body of a given temperature and apparent magnitude.
.. code-block :: xml
<target type="BlackBodyTarget" temp="5778" temp_unit="K" mag="10" mag_unit="mag" band="B" size="point"/>
Attributes:
2020-05-27 10:21:27 +02:00
* | **temp:** float
2020-05-26 22:10:21 +02:00
| The temperature of the black body.
* | **temp_unit:** str, *optional* = "K"
| The unit of the black body's temperature. This has to be one of [`` K `` , `` Celsius `` ]. The default is `` K `` .
2020-07-21 11:22:01 +02:00
* | **mag:** float, *optional* = None
| The apparent magnitude of the black body in magnitudes. In case of None or magnitude per solid angle, an extended target is assumed.
2020-05-26 22:10:21 +02:00
* | **mag_unit:** str, *optional* = "mag"
2020-06-29 10:41:41 +02:00
| The unit of the black body's magnitude. This has to be [`` mag `` , `` mag / arcsec**2 `` , `` mag / sr `` ]. The default is `` mag `` .
2020-05-26 22:10:21 +02:00
* | **band:** str
| The band used for fitting the black body's flux density to Vega's flux density. This has to be one of [`` U `` , `` B `` , `` V `` , `` R `` , `` I `` , `` J `` , `` H `` , `` K `` , `` L `` , `` M `` , `` N `` ].
.. _filetarget:
FileTarget
----------
2020-06-29 10:41:41 +02:00
Create a target from a file containing the spectral flux densities or, in case of an extended source, the spectral radiance of the target.
2020-05-26 22:10:21 +02:00
.. code-block :: xml
<target type="FileTarget" val="PathToFile" size="point"/>
Attributes:
* | **val:** str
2020-06-29 10:41:41 +02:00
| The path to the file containing the spectral flux densities / radiances. For details on the required file structure see also :ref: `reading_csv` .