mag parameter optional

This commit is contained in:
2020-07-21 11:22:01 +02:00
parent 6ab69f5c2b
commit 3d1a430ca4
2 changed files with 23 additions and 20 deletions

View File

@ -28,8 +28,8 @@ Attributes:
| 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``.
* | **mag:** float
| The apparent magnitude of the black body in magnitudes. In case of a magnitude per solid angle, an extended target is assumed.
* | **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.
* | **mag_unit:** str, *optional* = "mag"
| The unit of the black body's magnitude. This has to be [``mag``, ``mag / arcsec**2``, ``mag / sr``]. The default is ``mag``.
* | **band:** str