Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
PyFstat
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Pep Covas Vidal
PyFstat
Commits
ca31578f
Commit
ca31578f
authored
5 years ago
by
David Keitel
Browse files
Options
Downloads
Patches
Plain Diff
ComputeFstat: extra flag computeAtoms independent of transientWindowType
parent
24b8f256
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
pyfstat/core.py
+5
-1
5 additions, 1 deletion
pyfstat/core.py
pyfstat/grid_based_searches.py
+1
-0
1 addition, 0 deletions
pyfstat/grid_based_searches.py
with
6 additions
and
1 deletion
pyfstat/core.py
+
5
−
1
View file @
ca31578f
...
@@ -384,6 +384,7 @@ class ComputeFstat(BaseSearchClass):
...
@@ -384,6 +384,7 @@ class ComputeFstat(BaseSearchClass):
SSBprec
=
None
,
SSBprec
=
None
,
tCWFstatMapVersion
=
"
lal
"
,
tCWFstatMapVersion
=
"
lal
"
,
cudaDeviceName
=
None
,
cudaDeviceName
=
None
,
computeAtoms
=
False
,
):
):
"""
"""
Parameters
Parameters
...
@@ -405,6 +406,7 @@ class ComputeFstat(BaseSearchClass):
...
@@ -405,6 +406,7 @@ class ComputeFstat(BaseSearchClass):
allow for the Fstat to be computed over a transient range.
allow for the Fstat to be computed over a transient range.
(
'
none
'
instead of None explicitly calls the transient-window
(
'
none
'
instead of None explicitly calls the transient-window
function, but with the full range, for debugging)
function, but with the full range, for debugging)
(if not None, will also force atoms regardless of computeAtoms option)
t0Band, tauBand: int
t0Band, tauBand: int
if >0, search t0 in (minStartTime,minStartTime+t0Band)
if >0, search t0 in (minStartTime,minStartTime+t0Band)
and tau in (tauMin,2*Tsft+tauBand).
and tau in (tauMin,2*Tsft+tauBand).
...
@@ -439,6 +441,8 @@ class ComputeFstat(BaseSearchClass):
...
@@ -439,6 +441,8 @@ class ComputeFstat(BaseSearchClass):
'
pycuda
'
for gpu, and some others for devel/debug.
'
pycuda
'
for gpu, and some others for devel/debug.
cudaDeviceName: str
cudaDeviceName: str
GPU name to be matched against drv.Device output.
GPU name to be matched against drv.Device output.
computeAtoms: bool
request atoms calculations regardless of transientWindowType
"""
"""
...
@@ -550,7 +554,7 @@ class ComputeFstat(BaseSearchClass):
...
@@ -550,7 +554,7 @@ class ComputeFstat(BaseSearchClass):
logging
.
info
(
"
Initialising FstatInput
"
)
logging
.
info
(
"
Initialising FstatInput
"
)
dFreq
=
0
dFreq
=
0
if
self
.
transientWindowType
:
if
self
.
transientWindowType
or
self
.
computeAtoms
:
self
.
whatToCompute
=
lalpulsar
.
FSTATQ_ATOMS_PER_DET
self
.
whatToCompute
=
lalpulsar
.
FSTATQ_ATOMS_PER_DET
else
:
else
:
self
.
whatToCompute
=
lalpulsar
.
FSTATQ_2F
self
.
whatToCompute
=
lalpulsar
.
FSTATQ_2F
...
...
This diff is collapsed.
Click to expand it.
pyfstat/grid_based_searches.py
+
1
−
0
View file @
ca31578f
...
@@ -574,6 +574,7 @@ class TransientGridSearch(GridSearch):
...
@@ -574,6 +574,7 @@ class TransientGridSearch(GridSearch):
assumeSqrtSX
=
self
.
assumeSqrtSX
,
assumeSqrtSX
=
self
.
assumeSqrtSX
,
tCWFstatMapVersion
=
self
.
tCWFstatMapVersion
,
tCWFstatMapVersion
=
self
.
tCWFstatMapVersion
,
cudaDeviceName
=
self
.
cudaDeviceName
,
cudaDeviceName
=
self
.
cudaDeviceName
,
computeAtoms
=
self
.
outputAtoms
,
)
)
self
.
search
.
get_det_stat
=
self
.
search
.
get_fullycoherent_twoF
self
.
search
.
get_det_stat
=
self
.
search
.
get_fullycoherent_twoF
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment