Additive components¶
Additiveconstant
¶
Bases: AdditiveComponent
A constant model
Parameters
- \(K\) (
norm
) \(\left[\frac{\text{photons}}{\text{keV}\text{cm}^2\text{s}}\right]\) : Normalization
Source code in src/jaxspec/model/additive.py
41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 |
|
Agauss
¶
Bases: AdditiveComponent
A simple Gaussian line profile in wavelength space.
If the width is \(\leq 0\) then it is treated as a delta function.
The Zagauss
variant computes a redshifted Gaussian.
Parameters
- \(\lambda_L\) (
lambdal
) \(\left[\unicode{x212B}\right]\) : Wavelength of the line in Angström - \(\sigma\) (
sigma
) \(\left[\unicode{x212B}\right]\) : Width of the line width in Angström - \(K\) (
norm
) \(\left[\frac{\unicode{x212B}~\text{photons}}{\text{keV}\text{cm}^2\text{s}}\right]\): Normalization
Source code in src/jaxspec/model/additive.py
242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 |
|
Band
¶
Bases: AdditiveComponent
A Band function model
Parameters
- \(\alpha_1\) (
alpha1
) \(\left[\text{dimensionless}\right]\) : First powerlaw index - \(\alpha_2\) (
alpha2
) \(\left[\text{dimensionless}\right]\) : Second powerlaw index - \(E_c\) (
Ec
) \(\left[\text{keV}\right]\) : Radius at infinity (modulated by gravitational effects) - norm (
norm
) \(\left[\frac{\text{photons}}{\text{keV}\text{cm}^2\text{s}}\right]\) : Normalization at the reference energy (100 keV)
Source code in src/jaxspec/model/additive.py
464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 |
|
Blackbody
¶
Bases: AdditiveComponent
A black body model
Parameters
- \(k_B T\) (
kT
) \(\left[\text{keV}\right]\) : Temperature - \(K\) (
norm
) \(\left[\text{dimensionless}\right]\) : \(L_{39}/D_{10}^{2}\), where \(L_{39}\) is the source luminosity [\(10^{39} \frac{\text{erg}}{\text{s}}\)] and \(D_{10}\) is the distance to the source [\(10 \text{kpc}\)]
Source code in src/jaxspec/model/additive.py
109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 |
|
Blackbodyrad
¶
Bases: AdditiveComponent
A black body model in radius normalization
Parameters
- \(k_B T\) (
kT
) \(\left[\text{keV}\right]\) : Temperature - \(K\) (
norm
) [dimensionless] : \(R^2_{km}/D_{10}^{2}\), where \(R_{km}\) is the source radius [\(\text{km}\)] and \(D_{10}\) is the distance to the source [\(10 \text{kpc}\)]
Source code in src/jaxspec/model/additive.py
131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 |
|
Cutoffpl
¶
Bases: AdditiveComponent
A power law model with high energy exponential cutoff
Parameters
- \(\alpha\) (
alpha
) \(\left[\text{dimensionless}\right]\) : Photon index of the power law - \(\beta\) (
beta
) \(\left[\text{keV}\right]\) : Folding energy of the exponential cutoff - \(E_0\) \(\left[ \mathrm{keV}\right]\) : Reference energy fixed at 1 keV
- \(K\) (
norm
) \(\left[\frac{\text{photons}}{\text{keV}\text{cm}^2\text{s}}\right]\) : Normalization
Source code in src/jaxspec/model/additive.py
184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 |
|
Diskbb
¶
Bases: AdditiveComponent
Diskpbb
with \(p=0.75\)
Parameters
- \(T_{\text{in}}\) (
Tin
) \(\left[ \mathrm{keV}\right]\): Temperature at inner disk radius - \(\text{norm}\) (
norm
) \(\left[\text{dimensionless}\right]\) : \(\cos i(r_{\text{in}}/d)^{2}\), where \(r_{\text{in}}\) is an apparent inner disk radius \(\left[\text{km}\right]\), \(d\) the distance to the source [\(10 \text{kpc}\)], \(i\) the angle of the disk (\(i=0\) is face-on)
Source code in src/jaxspec/model/additive.py
206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 |
|
Gauss
¶
Bases: AdditiveComponent
A Gaussian line profile. If the width is \(\leq 0\) then it is treated as a delta function.
The Zgauss
variant computes a redshifted Gaussian.
Parameters
- \(E_L\) (
El
) \(\left[\text{keV}\right]\) : Energy of the line - \(\sigma\) (
sigma
) \(\left[\text{keV}\right]\) : Width of the line - \(K\) (
norm
) \(\left[\frac{\text{photons}}{\text{cm}^2\text{s}}\right]\) : Normalization
Source code in src/jaxspec/model/additive.py
151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 |
|
Logparabola
¶
Bases: AdditiveComponent
A LogParabola model
Parameters
- \(a\) (
a
) \(\left[\text{dimensionless}\right]\) : Slope of the LogParabola at the pivot energy - \(b\) (
b
) \(\left[\text{dimensionless}\right]\) : Curve parameter of the LogParabola - \(E_{\text{Pivot}}\) \(\left[ \mathrm{keV}\right]\) : Pivot energy fixed at 1 keV
- \(K\) (
norm
) \(\left[\frac{\text{photons}}{\text{keV}\text{cm}^2\text{s}}\right]\) : Normalization
Source code in src/jaxspec/model/additive.py
84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 |
|
Lorentz
¶
Bases: AdditiveComponent
A Lorentzian line profile
Parameters
- \(E_L\) (
E_l
) \(\left[\text{keV}\right]\) : Energy of the line - \(\sigma\) (
sigma
) \(\left[\text{keV}\right]\) : FWHM of the line - \(K\) (
norm
) \(\left[\frac{\text{photons}}{\text{cm}^2\text{s}}\right]\) : Normalization
Source code in src/jaxspec/model/additive.py
58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 |
|
NSatmos
¶
Bases: AdditiveComponent
A neutron star atmosphere model based on the NSATMOS
model from XSPEC
. See this page
Warning
The boundary case of \(R_{\text{NS}} < 1.125 R_{\text{S}}\) is handled with a null flux instead of a constant value as in XSPEC
.
Parameters
- \(T_{eff}\) (
Tinf
) \(\left[\text{Kelvin}\right]\) : Effective temperature at the surface (No redshift applied) - \(M_{ns}\) (
mass
) \(\left[M_{\odot}\right]\) : Mass of the NS - \(R_∞\) (
radius
) \(\left[\text{km}\right]\) : Radius at infinity (modulated by gravitational effects) - \(D\) (
distance
) \(\left[\text{kpc}\right]\) : Distance to the neutron star - norm (
norm
) \(\left[\text{dimensionless}\right]\) : fraction of the neutron star surface emitting
Source code in src/jaxspec/model/additive.py
337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 |
|
Powerlaw
¶
Bases: AdditiveComponent
A power law model
Parameters
- \(\alpha\) (
alpha
) \(\left[\text{dimensionless}\right]\) : Photon index of the power law - \(E_0\) \(\left[ \mathrm{keV}\right]\) : Reference energy fixed at 1 keV
- \(K\) (
norm
) \(\left[\frac{\text{photons}}{\text{keV}\text{cm}^2\text{s}}\right]\) : Normalization at the reference energy (1 keV)
Source code in src/jaxspec/model/additive.py
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
|
Zagauss
¶
Bases: AdditiveComponent
A redshifted Gaussian line profile in wavelength space. If the width is \(\leq 0\) then it is treated as a delta function.
Parameters
- \(\lambda_L\) (
lambdal
) \(\left[\unicode{x212B}\right]\) : Wavelength of the line in Angström - \(\sigma\) (
sigma
) \(\left[\unicode{x212B}\right]\) : Width of the line width in Angström - \(z\) (
redshift
) \(\left[\text{dimensionless}\right]\) : Redshift - \(K\) (
norm
) \(\left[\frac{\unicode{x212B}~\text{photons}}{\text{keV}\text{cm}^2\text{s}}\right]\) : Normalization
Source code in src/jaxspec/model/additive.py
272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 |
|
Zgauss
¶
Bases: AdditiveComponent
A redshifted Gaussian line profile. If the width is \(\leq 0\) then it is treated as a delta function.
Parameters
- \(E_L\) (
El
) \(\left[\text{keV}\right]\) : Energy of the line - \(\sigma\) (
sigma
) \(\left[\text{keV}\right]\) : Width of the line - \(K\) (
norm
) \(\left[\frac{\text{photons}}{\text{cm}^2\text{s}}\right]\) : Normalization - \(z\) (
redshift
) \(\left[\text{dimensionless}\right]\) : Redshift
Source code in src/jaxspec/model/additive.py
309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 |
|