Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bayeswave
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
lscsoft
bayeswave
Merge requests
!111
output 'fairdraw' psds in absence of bayesline
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
output 'fairdraw' psds in absence of bayesline
tyson-littenberg/bayeswave:no-bayesline-psd
into
master
Overview
0
Commits
1
Pipelines
1
Changes
1
Merged
Tyson Littenberg
requested to merge
tyson-littenberg/bayeswave:no-bayesline-psd
into
master
5 years ago
Overview
0
Commits
1
Pipelines
1
Changes
1
Expand
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
7ce30415
1 commit,
5 years ago
1 file
+
18
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
src/BayesWave.c
+
18
−
0
Options
@@ -445,6 +445,23 @@ int main(int argc, char *argv[])
}
fprintf
(
stdout
,
"
\n
"
);
}
else
{
/*
Here is an ugly hack:
BayesWavePost expects a psd for its IFO-cache argument.
The bayeswave_pipe script defaults to using the fairdraw output from BayesLine
e.g. --[IFO]-cache interp:[rundir]/[IFO]_fairdraw_asd.dat
which doesn't exist when running w/out BayesLine, e.g. simulated data for review
purposes. Here we print a file with the right name and content so that bayeswave_pipe
doesn't have to decide what to use for the cache argument.
TODO: rethink naming to keep people out of trouble
*/
export_cleaned_data
(
data
,
model
[
0
]);
}
//Restore chain size to requested value
chain
->
NC
=
NC
;
@@ -576,6 +593,7 @@ int main(int argc, char *argv[])
data
->
fullModelFlag
=
0
;
}
if
(
data
->
cleanModelFlag
)
{
Loading