-
Notifications
You must be signed in to change notification settings - Fork 356
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update parameters.py #4397
Merged
Merged
update parameters.py #4397
Changes from 3 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
bc54411
update parameters.py
WuShichao e89c3ec
fix cc issue
WuShichao 734f669
Merge branch 'gwastro:master' into add_parameters
WuShichao 22feb44
Update parameters.py
WuShichao 62af367
Update parameters.py
WuShichao caff816
fix cc issues
WuShichao a905f94
Merge branch 'gwastro:master' into add_parameters
WuShichao e6da9e4
Merge branch 'gwastro:master' into add_parameters
WuShichao cc50bf4
Update parameters.py
WuShichao a26521a
Merge branch 'gwastro:master' into add_parameters
WuShichao 640ebfb
Merge branch 'gwastro:master' into add_parameters
WuShichao File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -417,32 +417,34 @@ def docstr(self, prefix='', include_label=True): | |
dtype=float, default=0., label=r"$\delta$", | ||
description="Mean anomaly of the periastron (rad).") | ||
tc = Parameter("tc", | ||
dtype=float, default=None, label=r"$t_c$ (s)", | ||
description="Coalescence time (s).") | ||
dtype=float, default=None, label=r"$t_c$ (s)", | ||
description="Coalescence time (s) in " | ||
"geocentric/SSB/LISA coords.") | ||
delta_tc = Parameter("delta_tc", dtype=float, | ||
label=r"$\Delta t_c~(\rm{s})$", | ||
description="Coalesence time offset.") | ||
description="Coalesence time offset in " + | ||
"geocentric/SSB/LISA coords.") | ||
ra = Parameter("ra", | ||
dtype=float, default=0., label=r"$\alpha$", | ||
description="Right ascension (rad).") | ||
dtype=float, default=0., label=r"$\alpha$", | ||
description="Right ascension (rad) in geocentric coords.") | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It doesn't make sense to say that ra/dec are in geocentric coordinates. They are uniquely defined, so there is no extra coordinate freedom. |
||
dec = Parameter("dec", | ||
dtype=float, default=0., label=r"$\delta$", | ||
description="Declination (rad).") | ||
description="Declination (rad) in geocentric coords.") | ||
polarization = Parameter("polarization", | ||
dtype=float, default=0., label=r"$\psi$", | ||
description="Polarization (rad).") | ||
description="Polarization (rad) in geocentric/SSB/LISA coords.") | ||
redshift = Parameter("redshift", | ||
dtype=float, default=None, label=r"$z$", | ||
description="Redshift.") | ||
comoving_volume = Parameter("comoving_volume", dtype=float, | ||
label=r"$V_C~(\rm{Mpc}^3)$", | ||
description="Comoving volume (in cubic Mpc).") | ||
eclipticlatitude = Parameter("eclipticlatitude", | ||
dtype=float, default=0., label=r"$\beta$", | ||
description="eclipticlatitude wrt SSB coords.") | ||
dtype=float, default=0., label=r"$\beta$", | ||
description="eclipticlatitude in SSB/LISA coords.") | ||
eclipticlongitude = Parameter("eclipticlongitude", | ||
dtype=float, default=0., label=r"$\lambda$", | ||
description="eclipticlongitude wrt SSB coords.") | ||
dtype=float, default=0., label=r"$\lambda$", | ||
description="eclipticlongitude in SSB/LISA coords.") | ||
|
||
# | ||
# Calibration parameters | ||
|
@@ -553,8 +555,9 @@ def docstr(self, prefix='', include_label=True): | |
# ============================================================================= | ||
# | ||
|
||
# parameters describing the location of a binary w.r.t. the Earth. Note: we | ||
# do not include distance here. This is because these parameters are not | ||
# parameters describing the location of a binary w.r.t. | ||
# the geocentric/LISA/SSB frame. | ||
# Note: we do not include distance here. This is because these are not | ||
# passed to the waveform generators in lalsimulation, but are instead applied | ||
# after a waveform is generated. Distance, however, is a parameter used by | ||
# the waveform generators. | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@WuShichao Looking at this, I'd take out reference here to coordinates systems generally. I think it's going to end up being confusing.