-
Notifications
You must be signed in to change notification settings - Fork 5
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
Redshifted motion handling #57
Conversation
6cd44cd
to
2435f0c
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## v1.2.0 #57 +/- ##
=========================================
Coverage ? 99.64%
=========================================
Files ? 6
Lines ? 2802
Branches ? 539
=========================================
Hits ? 2792
Misses ? 0
Partials ? 10
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report in Codecov by Sentry.
|
* A corrected version ref in README * Another reference to API documentation in README * Small edits to README * Shoft release schedule up to imporve Fedora package integration * Add redshift handling routines.
* A corrected version ref in README * Another reference to API documentation in README * Small edits to README * Shoft release schedule up to imporve Fedora package integration * Add redshift handling routines.
* A corrected version ref in README * Another reference to API documentation in README * Small edits to README * Shoft release schedule up to imporve Fedora package integration * Add redshift handling routines.
* A corrected version ref in README * Another reference to API documentation in README * Small edits to README * Shoft release schedule up to imporve Fedora package integration * Add redshift handling routines.
* A corrected version ref in README * Another reference to API documentation in README * Small edits to README * Shoft release schedule up to imporve Fedora package integration * Add redshift handling routines.
* A corrected version ref in README * Another reference to API documentation in README * Small edits to README * Shoft release schedule up to imporve Fedora package integration * Add redshift handling routines.
* A corrected version ref in README * Another reference to API documentation in README * Small edits to README * Shoft release schedule up to imporve Fedora package integration * Add redshift handling routines.
* A corrected version ref in README * Another reference to API documentation in README * Small edits to README * Shoft release schedule up to imporve Fedora package integration * Add redshift handling routines.
* A corrected version ref in README * Another reference to API documentation in README * Small edits to README * Shoft release schedule up to imporve Fedora package integration * Add redshift handling routines.
* A corrected version ref in README * Another reference to API documentation in README * Small edits to README * Shoft release schedule up to imporve Fedora package integration * Add redshift handling routines.
* Redshifted motion handling (#57) * A corrected version ref in README * Another reference to API documentation in README * Small edits to README * Shoft release schedule up to imporve Fedora package integration * Add redshift handling routines. * Add functions to apply/adjust gravitational redshift for radial velocities. * Tweaks and redshift_add() function * Tweaks * Added novas_z_inv() * Further tweaks * small edits to error handling * various fixes * Small arithmetic simplification * Doxygen edits * Test cases for redshift functions * Split out util.c * test/Makefile: Fix bad rebase * merge util.c -> super.c * super.c: Delete empty lines
* A corrected version ref in README * Another reference to API documentation in README * Small edits to README * Shoft release schedule up to imporve Fedora package integration * Add redshift handling routines.
* Redshifted motion handling (#57) * A corrected version ref in README * Another reference to API documentation in README * Small edits to README * Shoft release schedule up to imporve Fedora package integration * Add redshift handling routines. * Add functions to apply/adjust gravitational redshift for radial velocities. * Tweaks and redshift_add() function * Tweaks * Added novas_z_inv() * Further tweaks * small edits to error handling * various fixes * Small arithmetic simplification * Doxygen edits * Test cases for redshift functions * Split out util.c * test/Makefile: Fix bad rebase * merge util.c -> super.c * super.c: Delete empty lines
* A corrected version ref in README * Another reference to API documentation in README * Small edits to README * Shoft release schedule up to imporve Fedora package integration * Add redshift handling routines.
* Redshifted motion handling (#57) * A corrected version ref in README * Another reference to API documentation in README * Small edits to README * Shoft release schedule up to imporve Fedora package integration * Add redshift handling routines. * Add functions to apply/adjust gravitational redshift for radial velocities. * Tweaks and redshift_add() function * Tweaks * Added novas_z_inv() * Further tweaks * small edits to error handling * various fixes * Small arithmetic simplification * Doxygen edits * Test cases for redshift functions * Split out util.c * test/Makefile: Fix bad rebase * merge util.c -> super.c * super.c: Delete empty lines
* A corrected version ref in README * Another reference to API documentation in README * Small edits to README * Shoft release schedule up to imporve Fedora package integration * Add redshift handling routines.
* Redshifted motion handling (#57) * A corrected version ref in README * Another reference to API documentation in README * Small edits to README * Shoft release schedule up to imporve Fedora package integration * Add redshift handling routines. * Add functions to apply/adjust gravitational redshift for radial velocities. * Tweaks and redshift_add() function * Tweaks * Added novas_z_inv() * Further tweaks * small edits to error handling * various fixes * Small arithmetic simplification * Doxygen edits * Test cases for redshift functions * Split out util.c * test/Makefile: Fix bad rebase * merge util.c -> super.c * super.c: Delete empty lines
* A corrected version ref in README * Another reference to API documentation in README * Small edits to README * Shoft release schedule up to imporve Fedora package integration * Add redshift handling routines.
* Redshifted motion handling (#57) * A corrected version ref in README * Another reference to API documentation in README * Small edits to README * Shoft release schedule up to imporve Fedora package integration * Add redshift handling routines. * Add functions to apply/adjust gravitational redshift for radial velocities. * Tweaks and redshift_add() function * Tweaks * Added novas_z_inv() * Further tweaks * small edits to error handling * various fixes * Small arithmetic simplification * Doxygen edits * Test cases for redshift functions * Split out util.c * test/Makefile: Fix bad rebase * merge util.c -> super.c * super.c: Delete empty lines
* A corrected version ref in README * Another reference to API documentation in README * Small edits to README * Shoft release schedule up to imporve Fedora package integration * Add redshift handling routines.
* Redshifted motion handling (#57) * A corrected version ref in README * Another reference to API documentation in README * Small edits to README * Shoft release schedule up to imporve Fedora package integration * Add redshift handling routines. * Add functions to apply/adjust gravitational redshift for radial velocities. * Tweaks and redshift_add() function * Tweaks * Added novas_z_inv() * Further tweaks * small edits to error handling * various fixes * Small arithmetic simplification * Doxygen edits * Test cases for redshift functions * Split out util.c * test/Makefile: Fix bad rebase * merge util.c -> super.c * super.c: Delete empty lines
* A corrected version ref in README * Another reference to API documentation in README * Small edits to README * Shoft release schedule up to imporve Fedora package integration * Add redshift handling routines.
* Redshifted motion handling (#57) * A corrected version ref in README * Another reference to API documentation in README * Small edits to README * Shoft release schedule up to imporve Fedora package integration * Add redshift handling routines. * Add functions to apply/adjust gravitational redshift for radial velocities. * Tweaks and redshift_add() function * Tweaks * Added novas_z_inv() * Further tweaks * small edits to error handling * various fixes * Small arithmetic simplification * Doxygen edits * Test cases for redshift functions * Split out util.c * test/Makefile: Fix bad rebase * merge util.c -> super.c * super.c: Delete empty lines
* A corrected version ref in README * Another reference to API documentation in README * Small edits to README * Shoft release schedule up to imporve Fedora package integration * Add redshift handling routines.
* Redshifted motion handling (#57) * A corrected version ref in README * Another reference to API documentation in README * Small edits to README * Shoft release schedule up to imporve Fedora package integration * Add redshift handling routines. * Add functions to apply/adjust gravitational redshift for radial velocities. * Tweaks and redshift_add() function * Tweaks * Added novas_z_inv() * Further tweaks * small edits to error handling * various fixes * Small arithmetic simplification * Doxygen edits * Test cases for redshift functions * Split out util.c * test/Makefile: Fix bad rebase * merge util.c -> super.c * super.c: Delete empty lines
* A corrected version ref in README * Another reference to API documentation in README * Small edits to README * Shoft release schedule up to imporve Fedora package integration * Add redshift handling routines.
* Redshifted motion handling (#57) * A corrected version ref in README * Another reference to API documentation in README * Small edits to README * Shoft release schedule up to imporve Fedora package integration * Add redshift handling routines. * Add functions to apply/adjust gravitational redshift for radial velocities. * Tweaks and redshift_add() function * Tweaks * Added novas_z_inv() * Further tweaks * small edits to error handling * various fixes * Small arithmetic simplification * Doxygen edits * Test cases for redshift functions * Split out util.c * test/Makefile: Fix bad rebase * merge util.c -> super.c * super.c: Delete empty lines
* A corrected version ref in README * Another reference to API documentation in README * Small edits to README * Shoft release schedule up to imporve Fedora package integration * Add redshift handling routines.
* Redshifted motion handling (#57) * A corrected version ref in README * Another reference to API documentation in README * Small edits to README * Shoft release schedule up to imporve Fedora package integration * Add redshift handling routines. * Add functions to apply/adjust gravitational redshift for radial velocities. * Tweaks and redshift_add() function * Tweaks * Added novas_z_inv() * Further tweaks * small edits to error handling * various fixes * Small arithmetic simplification * Doxygen edits * Test cases for redshift functions * Split out util.c * test/Makefile: Fix bad rebase * merge util.c -> super.c * super.c: Delete empty lines
* A corrected version ref in README * Another reference to API documentation in README * Small edits to README * Shoft release schedule up to imporve Fedora package integration * Add redshift handling routines.
* Redshifted motion handling (#57) * A corrected version ref in README * Another reference to API documentation in README * Small edits to README * Shoft release schedule up to imporve Fedora package integration * Add redshift handling routines. * Add functions to apply/adjust gravitational redshift for radial velocities. * Tweaks and redshift_add() function * Tweaks * Added novas_z_inv() * Further tweaks * small edits to error handling * various fixes * Small arithmetic simplification * Doxygen edits * Test cases for redshift functions * Split out util.c * test/Makefile: Fix bad rebase * merge util.c -> super.c * super.c: Delete empty lines
So far, sidereal (i.e. catalog) sources were defined with parameters typical for stars in our Galaxy. As such, motion was parametrized by radial velocity (in line of sight) , as well as proper motion. And, as a result, NOVAS did not offer proper support for handling distant quasars or galaxies, where line-of-sight motion is more typically parameterized with a redshift (z) instead.
Thus we now add:
novas_z2v()
to convert redshift values (z) to an equivalent radial velocity (in km/s).novas_v2z()
to convert radial velocity values(in km/s) to an equivalent redshift (z).make_redshifted_object()
to simplify the initialization of distant sources parameterized by redshift. It will set proper motion and parallax to zero, and initialized the source catalog toEXT
to indicate an extragalactic source. (The user may then override the initial values, if necessary).