Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Gregory Ashton
PyFstat
Commits
967e1f7d
Commit
967e1f7d
authored
Oct 21, 2016
by
Gregory Ashton
Browse files
Makes the default scat val smaller and better printing of log files
parent
ad4abc08
Changes
1
Show whitespace changes
Inline
Side-by-side
pyfstat.py
View file @
967e1f7d
...
...
@@ -310,9 +310,16 @@ class ComputeFstat(object):
if
self
.
BSGL
:
if
len
(
names
)
<
2
:
raise
ValueError
(
"Can't use BSGL with single detector data"
)
logging
.
info
(
'Initialising BSGL with prefactor {:2.2f} and floor '
'{:2.2f}'
.
format
(
self
.
BSGL_PREFACTOR
,
self
.
BSGL_FLOOR
)
if
self
.
BSGL_FLOOR
is
None
:
logging
.
info
(
'Initialising BSGL with prefactor {:2.2f}'
.
format
(
self
.
BSGL_PREFACTOR
)
)
else
:
logging
.
info
(
'Initialising BSGL with prefactor {:0.2f} and '
'floor {}'
.
format
(
self
.
BSGL_PREFACTOR
,
self
.
BSGL_FLOOR
)
)
# Tuning parameters - to be reviewed
numDetectors
=
2
Fstar0sc
=
15.
...
...
@@ -512,7 +519,7 @@ class MCMCSearch(BaseSearchClass):
@
initializer
def
__init__
(
self
,
label
,
outdir
,
sftfilepath
,
theta_prior
,
tref
,
tstart
,
tend
,
nsteps
=
[
100
,
100
,
100
],
nwalkers
=
100
,
ntemps
=
1
,
log10temperature_min
=-
5
,
theta_initial
=
None
,
scatter_val
=
1e-
4
,
log10temperature_min
=-
5
,
theta_initial
=
None
,
scatter_val
=
1e-
10
,
binary
=
False
,
BSGL
=
False
,
minCoverFreq
=
None
,
maxCoverFreq
=
None
,
detector
=
None
,
earth_ephem
=
None
,
sun_ephem
=
None
,
theta0_idx
=
0
,
...
...
@@ -1292,7 +1299,7 @@ class MCMCGlitchSearch(MCMCSearch):
def
__init__
(
self
,
label
,
outdir
,
sftfilepath
,
theta_prior
,
tref
,
tstart
,
tend
,
nglitch
=
1
,
nsteps
=
[
100
,
100
,
100
],
nwalkers
=
100
,
ntemps
=
1
,
log10temperature_min
=-
5
,
theta_initial
=
None
,
scatter_val
=
1e-
4
,
dtglitchmin
=
1
*
86400
,
theta0_idx
=
0
,
scatter_val
=
1e-
10
,
dtglitchmin
=
1
*
86400
,
theta0_idx
=
0
,
detector
=
None
,
BSGL
=
False
,
minCoverFreq
=
None
,
maxCoverFreq
=
None
,
earth_ephem
=
None
,
sun_ephem
=
None
,
BSGL_PREFACTOR
=
1
,
BSGL_FLOOR
=
None
):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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