Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
David Keitel
PyFstat
Commits
cd13d3f6
Commit
cd13d3f6
authored
Dec 22, 2017
by
Gregory Ashton
Browse files
Minor fixes to the glitch search
parent
b6403cc8
Changes
1
Hide whitespace changes
Inline
Side-by-side
pyfstat/mcmc_based_searches.py
View file @
cd13d3f6
...
...
@@ -1601,7 +1601,7 @@ class MCMCGlitchSearch(MCMCSearch):
'multiplier'
:
1
/
86400.
,
'subtractor'
:
'minStartTime'
,
'unit'
:
'day'
,
'label'
:
'
Glitch time
\n
days
after minStartTime
'
}
'label'
:
'
$t^{g}_0$
\n
[
days
]
'
}
)
@
helper_functions
.
initializer
...
...
@@ -1744,7 +1744,9 @@ class MCMCGlitchSearch(MCMCSearch):
ntemps
=
self
.
ntemps
,
theta_keys
=
self
.
theta_keys
,
theta_prior
=
self
.
theta_prior
,
log10beta_min
=
self
.
log10beta_min
,
theta0_idx
=
self
.
theta0_idx
,
BSGL
=
self
.
BSGL
)
theta0_idx
=
self
.
theta0_idx
,
BSGL
=
self
.
BSGL
,
minStartTime
=
self
.
minStartTime
,
maxStartTime
=
self
.
maxStartTime
)
return
d
def
_apply_corrections_to_p0
(
self
,
p0
):
...
...
@@ -1858,7 +1860,9 @@ class MCMCSemiCoherentSearch(MCMCSearch):
ntemps
=
self
.
ntemps
,
theta_keys
=
self
.
theta_keys
,
theta_prior
=
self
.
theta_prior
,
log10beta_min
=
self
.
log10beta_min
,
BSGL
=
self
.
BSGL
,
nsegs
=
self
.
nsegs
)
BSGL
=
self
.
BSGL
,
nsegs
=
self
.
nsegs
,
minStartTime
=
self
.
minStartTime
,
maxStartTime
=
self
.
maxStartTime
)
return
d
def
_initiate_search_object
(
self
):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment