SHO and Matern-3/2 kernels#
The Stochastically-driven Harmonic Oscillator (SHO) and Matern-3/2 kernels are generic GP kernels commonly used to model correlated noise regardless of the specific origin. By default, their parameters are dataset-specific, but it is possible to change this behaviour using the available keywords.
Tip
For their general purpose, these kernels will not inherit the hyperparameters from the activity common model. However, it is possible to relate the hyperparameters to the star’s rotation period and activity-decay timescale.
The kernels have been implemented using celerite2, tinygp, and S+LEAF.
If you use
tinygp, cite the Zenodo repository and check the Caveats on the use oftinyGPIf you use
celerite2, please cite Foreman-Mackey et al. 2017 and Foreman-Mackey 2018If you use
S+LEAFkernels, please cite Delisle et al. 2020 and Delisle et al. 2022.
SHO Kernel#
This kernel has been introduced by Foreman-Mackey et al. 2017 with the following power spectral density:
Where the hyperparameters represent:
\(\omega_0\): The undamped angular frequency
\(Q\): the quality factor
\(S0\): scale factor so that the power of the PSD is \(S(0) =S_0\sqrt{2/\pi}\)
In PyORBIT, the alternative parametrisation implemented in celerite2 has been extended to all the SHO models:
\(\rho\): the undamped period of the oscillator, defined as \(\rho = 2\,\pi / \omega_0\),
\(\tau\); the damping timescale of the process, defined as \(\tau = 2\,Q / \omega_0\)
\(sigma\)_ the standard deviation of the process, defined as \(\sigma = \sqrt{S_0\,\omega_0\,Q} \)
If you use the SHO kernel, please cite Foreman-Mackey et al. 2017
Model definition and requirements#
model name: tinygp_sho
required common object:
activityimplemented with
tinygp
model name: celerite2_sho
required common object:
activityimplemented with
celerite2
model name: spleaf_sho
required common object:
activityimplemented with
S+LEAF
model name: tinygp_matern32
required common object:
activityimplemented with
tinygp
model name: celerite2_matern32
required common object:
activityimplemented with
celerite2
Model parameters#
SHO models#
Name |
Parameter |
Common? |
Definition |
Notes |
|---|---|---|---|---|
|
SHO undamped period, also known as |
dataset |
|
Common when |
|
SHO damping timescale, also known as |
dataset |
|
Common when |
|
Standard deviation of the process |
dataset |
|
Common when |
Matern-3/2 models#
Name |
Parameter |
Common? |
Definition |
Notes |
|---|---|---|---|---|
|
Matern-3/2 scale, also known as |
dataset |
|
Common when |
|
Standard deviation of the process |
dataset |
|
Common when |
Tip
Some older result files may contain matern32_rho. The current models map it internally to matern32_scale.
Keywords#
Model-wide keywords, with the default value in boldface.
use_shared_hyperparameters
accepted values:
True|Falsemoves all kernel parameters from dataset-specific to common parameters. For SHO models this includes
sho_scale,sho_decay, andsho_sigma; for Matern-3/2 models this includesmatern32_scaleandmatern32_sigma.
use_shared_scale
accepted values:
True|Falsemakes only the kernel timescale common. For SHO models this is
sho_scale; for Matern-3/2 models this ismatern32_scale.
use_shared_decay
accepted values:
True|Falsemakes only the SHO damping timescale
sho_decaycommon.
use_activity_Prot
accepted values:
True|Falsereplaces the kernel scale with
Protfrom theactivitycommon object.
use_activity_Pdec
accepted values:
True|Falsereplaces the kernel decay or scale with
Pdecfrom theactivitycommon object.
use_stellar_rotation_period
accepted values:
True|Falsereplaces the kernel scale with
rotation_periodfromstar_parameters.
use_stellar_activity_decay
accepted values:
True|Falsereplaces the kernel decay or scale with
activity_decayfromstar_parameters.
For Matern-3/2 models, the replacement flags are mutually exclusive because there is only one timescale.
The SHO models also support some of the hyperparameter-condition keywords involving Prot and Pdec described in the quasi-periodic kernel. In that case, the SHO scale is interpreted as Prot, and the SHO decay as Pdec.
Examples#
Dataset-specific SHO kernel:
1models:
2 celerite2_sho:
3 model: celerite2_sho
4 boundaries:
5 sho_scale: [0.1, 100.0]
6 sho_decay: [0.1, 1000.0]
7 sho_sigma: [0.0, 1.0]
Matern-3/2 kernel with a shared timescale:
1common:
2 activity:
3 boundaries:
4 matern32_scale: [0.1, 100.0]
5models:
6 tinygp_matern32:
7 model: tinygp_matern32
8 common: activity
9 use_shared_scale: True
10 boundaries:
11 matern32_sigma: [0.0, 1.0]
SHO kernel using stellar rotation and activity decay from star_parameters:
1common:
2 activity:
3 model: activity
4 star:
5 star_parameters:
6 boundaries:
7 rotation_period: [10.0, 20.0]
8 activity_decay: [20.0, 1000.0]
9models:
10 spleaf_sho:
11 model: spleaf_sho
12 common:
13 - activity
14 - star_parameters
15 use_stellar_rotation_period: True
16 use_stellar_activity_decay: True
17 boundaries:
18 sho_sigma: [0.0, 1.0]