Skip to content
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

Specify PA, dRA sign conventions #155

Merged
merged 3 commits into from
Mar 15, 2021
Merged

Conversation

jeffjennings
Copy link
Collaborator

Addresses #154

@rbooth200
Copy link
Collaborator

Should it be added to the docs pages somewhere too?

"pa" : "Position angle, unit=[deg]",
"dra" : "Delta (offset from 0) right ascension, unit=[arcsec]",
"pa" : "Position angle, defined east of north, unit=[deg]",
"dra" : "Delta (offset from 0) right ascension, defined east of north, unit=[arcsec]",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"dra" : "Delta (offset from 0) right ascension, defined east of north, unit=[arcsec]",
"dra" : "Delta (offset from 0) right ascension, defined positive for offsets towards East, unit=[arcsec]",

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point, fixed in bbda275

frank/parameter_descriptions.json Show resolved Hide resolved
@@ -19,7 +19,8 @@
"""This module contains methods for fitting a source's geometry and deprojecting
the visibilties by a fitted or a given geometry.

NOTE: The sign convention used here is xx.
NOTE: The sign convention used here is east of north for position angle (PA)
and right ascension offset (dRA).
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
and right ascension offset (dRA).
and positive right ascension offset (dRA) for offset towards East.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in bbda275

@@ -97,7 +97,7 @@
"metadata": {},
"source": [
"Before fitting the radial brightness profile, we need to determine the disc's geometry (inclination, position angle and phase center) in order to deproject the visibilities (recall that frank, fitting in 1D, assumes an axisymmetric source).\n",
"To do this we pass an object specifying how the geometry is determined to the [FrankFitter](../py_API.rst#frank.radial_fitters.FrankFitter) class.\n",
"To do this we pass an object specifying how the geometry is determined to the [FrankFitter](../py_API.rst#frank.radial_fitters.FrankFitter) class. **The position angle and right ascension offset are defined east of north.**\n",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and right ascension offset are defined east of north this is not clear. see my previous comments

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in bbda275

@jeffjennings jeffjennings merged commit 9464c1f into master Mar 15, 2021
@jeffjennings jeffjennings deleted the sign_convention_docstrings branch March 15, 2021 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants