Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
L
lalsuite
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
109
Issues
109
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
28
Merge Requests
28
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lscsoft
lalsuite
Commits
0f1ba60d
Commit
0f1ba60d
authored
Apr 10, 2018
by
John Douglas Veitch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix ROQ template to use default 1Mpc in dist marg
parent
28901924
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
lalinference/src/LALInferenceTemplate.c
lalinference/src/LALInferenceTemplate.c
+8
-2
No files found.
lalinference/src/LALInferenceTemplate.c
View file @
0f1ba60d
...
...
@@ -284,8 +284,14 @@ void LALInferenceROQWrapperForXLALSimInspiralChooseFDWaveformSequence(LALInferen
fprintf
(
stderr
,
"No mass parameters found!"
);
exit
(
0
);
}
distance
=
exp
(
LALInferenceGetREAL8Variable
(
model
->
params
,
"logdistance"
))
*
LAL_PC_SI
*
1.0e6
;
/* distance (1 Mpc) in units of metres */
if
(
LALInferenceCheckVariable
(
model
->
params
,
"logdistance"
))
{
distance
=
exp
(
LALInferenceGetREAL8Variable
(
model
->
params
,
"logdistance"
))
*
LAL_PC_SI
*
1.0e6
;
/* distance (1 Mpc) in units of metres */
}
else
{
distance
=
LAL_PC_SI
*
1.0e6
;
/* 1Mpc default */
}
phi0
=
LALInferenceGetREAL8Variable
(
model
->
params
,
"phase"
);
/* START phase as per lalsimulation convention, radians*/
/* Zenith angle between J and N in radians. Also known as inclination angle when spins are aligned */
...
...
Write
Preview
Markdown
is supported
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