Closed jenniferyee closed 11 months ago
Specifically, what is needed:
SAMPLE_FILE_03_REF = join(dir_2, 'ob140939_Spitzer_ref_v1.dat')
Needs columns ADDED for Spitzer source trajectory X and Y positions as in
ref_Spitzer = np.loadtxt(SAMPLE_FILE_03_REF, unpack=True)
ratio_x = trajectory.x / ref_Spitzer[6]
ratio_y = trajectory.y / ref_Spitzer[7]
@jenniferyee I would just test against values returned by current code - are you ok with that? It'll take me relatively long to get them from independent code like sfit.
Attention: 1 lines
in your changes are missing coverage. Please review.
Comparison is base (
537e33c
) 83.45% compared to head (bf40fcb
) 83.63%. Report is 12 commits behind head on master.
Files | Patch % | Lines |
---|---|---|
source/MulensModel/model.py | 90.00% | 1 Missing :warning: |
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Without running the code, I see that Model.get_trajectory()
should have satellite_skycoord
keyword describe. It's a new aspect of API, so we should change the version to 2.19.
Dr. Jennifer C. Yee (she/her)
On Thu, Dec 7, 2023 at 9:53 AM Radek Poleski @.***> wrote:
Merged #98 https://github.com/rpoleski/MulensModel/pull/98 into master.
— Reply to this email directly, view it on GitHub https://github.com/rpoleski/MulensModel/pull/98#event-11183040727, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEK7UCJATSDXCBREFAPUPRLYIHJ7ZAVCNFSM6AAAAAA5BZBCBGVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJRGE4DGMBUGA3TENY . You are receiving this because you were mentioned.Message ID: @.***>
Proposed bug fixes for Model.get_trajectory() and FitData.get_dataset_trajectory(). Also updated Ex 17 to include plotting of 1L2S trajectory figure and added unittests for Model.get_trajectory() and FitData.get_dataset_trajectory(). These unit tests currently fail. We need to update the reference files to include trajectory X, Y, first.