This repository was archived by the owner on Dec 7, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add calibration uncertainty model (#54)
* add base Recalibrate class and CubicSpline * Adding calibration preamble * fix extraction of frequencies from strain object * add call to super.__init__ * add parameter prefix as argument * add documentation * add reading from config * fix bug in prefix removal * Typos * remove model name from options * make loading from config more generic * update loading of calibration * force inputs to have the correct type * force inputs to have the correct type * Adding warning for too few spline points * make recalibration objects know the ifo name * add base Recalibrate class and CubicSpline * Adding calibration preamble * fix extraction of frequencies from strain object * add call to super.__init__ * add parameter prefix as argument * add documentation * add reading from config * fix bug in prefix removal * Typos * remove model name from options * make loading from config more generic * update loading of calibration * force inputs to have the correct type * force inputs to have the correct type * Adding warning for too few spline points * make recalibration objects know the ifo name * add calibration ini file for cubic spline * add calibration ini to docs * Commenting config file * make lines < 80 characters * use var not stdev * allow multiple config files in workflow * typo fix * standardise ini file name, allow for multiple ini files * update workflow docs for using multiple calibration files * add tests for calibration * remove unused import * style fix * fix style * make cubic spline raise error if too few points are provided * add test of too few spline points * placate codeclimate * use correct frequency array * address comments to pull request * remove useless statement
- Loading branch information
Colm Talbot
authored and
Collin Capano
committed
Jul 20, 2018
1 parent
5be86c7
commit 91214d7
Showing
7 changed files
with
411 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,132 @@ | ||
# Details of set up as given in the O1 Binary Black Hole Paper https://arxiv.org/abs/1606.04856 | ||
[calibration] | ||
h1_model = cubic_spline | ||
h1_minimum_frequency = 10 | ||
h1_maximum_frequency = 1024 | ||
h1_n_points = 5 | ||
l1_model = cubic_spline | ||
l1_minimum_frequency = 10 | ||
l1_maximum_frequency = 1024 | ||
l1_n_points = 5 | ||
|
||
[variable_params] | ||
recalib_amplitude_h1_0 = | ||
recalib_amplitude_h1_1 = | ||
recalib_amplitude_h1_2 = | ||
recalib_amplitude_h1_3 = | ||
recalib_amplitude_h1_4 = | ||
recalib_phase_h1_0 = | ||
recalib_phase_h1_1 = | ||
recalib_phase_h1_2 = | ||
recalib_phase_h1_3 = | ||
recalib_phase_h1_4 = | ||
recalib_amplitude_l1_0 = | ||
recalib_amplitude_l1_1 = | ||
recalib_amplitude_l1_2 = | ||
recalib_amplitude_l1_3 = | ||
recalib_amplitude_l1_4 = | ||
recalib_phase_l1_0 = | ||
recalib_phase_l1_1 = | ||
recalib_phase_l1_2 = | ||
recalib_phase_l1_3 = | ||
recalib_phase_l1_4 = | ||
|
||
[prior-recalib_amplitude_h1_0] | ||
name = gaussian | ||
recalib_amplitude_h1_0_mean = 0 | ||
recalib_amplitude_h1_0_var = 0.0023 | ||
|
||
[prior-recalib_amplitude_h1_1] | ||
name = gaussian | ||
recalib_amplitude_h1_1_mean = 0 | ||
recalib_amplitude_h1_1_var = 0.0023 | ||
|
||
[prior-recalib_amplitude_h1_2] | ||
name = gaussian | ||
recalib_amplitude_h1_2_mean = 0 | ||
recalib_amplitude_h1_2_var = 0.0023 | ||
|
||
[prior-recalib_amplitude_h1_3] | ||
name = gaussian | ||
recalib_amplitude_h1_3_mean = 0 | ||
recalib_amplitude_h1_3_var = 0.0023 | ||
|
||
[prior-recalib_amplitude_h1_4] | ||
name = gaussian | ||
recalib_amplitude_h1_4_mean = 0 | ||
recalib_amplitude_h1_4_var = 0.0023 | ||
|
||
[prior-recalib_amplitude_l1_0] | ||
name = gaussian | ||
recalib_amplitude_l1_0_mean = 0 | ||
recalib_amplitude_l1_0_var = 0.0068 | ||
|
||
[prior-recalib_amplitude_l1_1] | ||
name = gaussian | ||
recalib_amplitude_l1_1_mean = 0 | ||
recalib_amplitude_l1_1_var = 0.0068 | ||
|
||
[prior-recalib_amplitude_l1_2] | ||
name = gaussian | ||
recalib_amplitude_l1_2_mean = 0 | ||
recalib_amplitude_l1_2_var = 0.0068 | ||
|
||
[prior-recalib_amplitude_l1_3] | ||
name = gaussian | ||
recalib_amplitude_l1_3_mean = 0 | ||
recalib_amplitude_l1_3_var = 0.0068 | ||
|
||
[prior-recalib_amplitude_l1_4] | ||
name = gaussian | ||
recalib_amplitude_l1_4_mean = 0 | ||
recalib_amplitude_l1_4_var = 0.0068 | ||
|
||
[prior-recalib_phase_h1_0] | ||
name = gaussian | ||
recalib_phase_h1_0_mean = 0 | ||
recalib_phase_h1_0_var = 0.0030 | ||
|
||
[prior-recalib_phase_h1_1] | ||
name = gaussian | ||
recalib_phase_h1_1_mean = 0 | ||
recalib_phase_h1_1_var = 0.0030 | ||
|
||
[prior-recalib_phase_h1_2] | ||
name = gaussian | ||
recalib_phase_h1_2_mean = 0 | ||
recalib_phase_h1_2_var = 0.0030 | ||
|
||
[prior-recalib_phase_h1_3] | ||
name = gaussian | ||
recalib_phase_h1_3_mean = 0 | ||
recalib_phase_h1_3_var = 0.0030 | ||
|
||
[prior-recalib_phase_h1_4] | ||
name = gaussian | ||
recalib_phase_h1_4_mean = 0 | ||
recalib_phase_h1_4_var = 0.0030 | ||
|
||
[prior-recalib_phase_l1_0] | ||
name = gaussian | ||
recalib_phase_l1_0_mean = 0 | ||
recalib_phase_l1_0_var = 0.0054 | ||
|
||
[prior-recalib_phase_l1_1] | ||
name = gaussian | ||
recalib_phase_l1_1_mean = 0 | ||
recalib_phase_l1_1_var = 0.0054 | ||
|
||
[prior-recalib_phase_l1_2] | ||
name = gaussian | ||
recalib_phase_l1_2_mean = 0 | ||
recalib_phase_l1_2_var = 0.0054 | ||
|
||
[prior-recalib_phase_l1_3] | ||
name = gaussian | ||
recalib_phase_l1_3_mean = 0 | ||
recalib_phase_l1_3_var = 0.0054 | ||
|
||
[prior-recalib_phase_l1_4] | ||
name = gaussian | ||
recalib_phase_l1_4_mean = 0 | ||
recalib_phase_l1_4_var = 0.0054 |
Oops, something went wrong.