shbhuk / barycorrpy

Python version of Barycorr
GNU General Public License v3.0
37 stars 6 forks source link

zmeas should be a vector when JDUTC is a vector #17

Closed shbhuk closed 6 years ago

shbhuk commented 6 years ago

Since this is the raw uncorrected redshift of the system before barycetnric correction, it should have the same length as the jdutc.

shbhuk commented 6 years ago

Fixed in commit bbaf274a5614587cd1f83817cde6d85b9783665b.

BCPy now allows for scalar and vector zmeas. This allows for three options - 1) Scalar JD and zmeas - Only one observation. 2) Vector JD and scalar zmeas - One can have multiple JDs for a single zmeas, like an exposure meter calculation. 3) Vector JD and vector zmeas - where the size of the two is the same, and each JD has an associated zmeas. This could be for an end to end reduction for one target.