XMM-Newton Science Analysis System
selectlib (selectlib-4.77) [xmmsas_20230412_1735-21.0.0]
Arithmetic constants and identifiers
Boolean and arithmetic expressions may contain integer and floating
point constants which can be specified as in C/C++ or Fortran,
e.g. 1.234E-12, -23, .111222, 1e2. The value of an integer constant
can be given in binary, octal, or hexadecimal by prepending
b, o, and h or 0x respectively,
i.e.,
. Some frequently used constants are available as
symbolic names:
name |
type |
value |
comment |
#PI |
real |
![$\pi = 3.1415926535\ldots$](img4.svg) |
|
#E |
real |
![$e = 2.718281828\ldots$](img5.svg) |
Euler number |
#RAD |
real |
![$\pi/180 = 0.017453\ldots$](img6.svg) |
for deg
rad conversion |
#DEG |
real |
![$180/\pi = 57.29577\ldots$](img8.svg) |
for rad
deg conversion |
#ARCSEC |
real |
![$\pi/180/3600 = 4.8481\ldots^{-6}$](img9.svg) |
1 arcsec expressed in rad |
#ARCMIN |
real |
![$\pi/180/60 = 2.9088\ldots^{-4}$](img10.svg) |
1 arcmin expressed in rad |
TRUE |
boolean |
true |
|
FALSE |
boolean |
false |
|
Subsections
XMM-Newton SOC -- 2023-04-16