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

DM-24278: Apply proper motion to matched sources in Jointcal #183

Merged
merged 13 commits into from Jul 9, 2021

Conversation

parejkoj
Copy link
Collaborator

@parejkoj parejkoj commented Jun 9, 2021

As implemented on this ticket, the new PM corrections do not include PM uncertainty which will be done on DM-30383.

I think if this happens it should be an error, as this could cause the
fitter to fail. I don't know if I need to actually fail here, but the
log message should be more obvious.
include/lsst/jointcal/RefStar.h Outdated Show resolved Hide resolved
src/Associations.cc Outdated Show resolved Hide resolved
src/Associations.cc Outdated Show resolved Hide resolved
include/lsst/jointcal/RefStar.h Outdated Show resolved Hide resolved
src/AstrometryFit.cc Outdated Show resolved Hide resolved
include/lsst/jointcal/Associations.h Show resolved Hide resolved
src/AstrometryFit.cc Outdated Show resolved Hide resolved
include/lsst/jointcal/ProperMotion.h Outdated Show resolved Hide resolved
include/lsst/jointcal/Associations.h Show resolved Hide resolved
Add ProperMotion C++ class and test_star to compare it with astropy.
Proper Motions won't be fit, they are just applied to the FittedStars whose
MeasuredStars have a matched RefStar with proper motions.

Cleanup now irrelevant Assocations PM code (NPAR_PM constant): until we have
real code to fit PM values, this is just clutter.

mjd -> epochYear cleanup:
*Refactor python epoch handling, to compute it earlier.
*Remove unused mjd/JDRef dates and add epoch.
*Use year delta in PM calculations.
*Fix test math of mean proper motion epoch, converting mjd to epoch year.
The refraction code here has not been used in ages, and we are not
supplying relevant color information as input anyway.
@parejkoj parejkoj merged commit b17f18e into master Jul 9, 2021
@parejkoj parejkoj deleted the tickets/DM-24278 branch July 9, 2021 05:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants