Skip to content

Commit

Permalink
add unit test to show disagreement between blobs and frames in terms …
Browse files Browse the repository at this point in the history
…of IMGFUNC
  • Loading branch information
javierggt committed Sep 14, 2022
1 parent a7e1c59 commit 2307528
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions chandra_aca/tests/test_maude_decom.py
Original file line number Diff line number Diff line change
Expand Up @@ -495,6 +495,12 @@ def test_blob_frame_consistency():
slot_data = slot_data[slot_data['IMGNUM'] == slot]
slot_data_2 = slot_data_2[slot_data_2['IMGNUM'] == slot]
assert len(slot_data) == len(slot_data_2)
compare_tables(slot_data, slot_data_2, exclude=['COMMPROG_REPEAT'])

start, stop = 686105735.6057751, 686105740.7507753
slot_data = maude_decom.get_aca_packets(start, stop, blobs=False)
slot_data_blobs = maude_decom.get_aca_packets(start, stop, blobs=True)
compare_tables(slot_data, slot_data_blobs, exclude=['COMMPROG_REPEAT'])


def test_get_aca_packets_blobs():
Expand Down

0 comments on commit 2307528

Please sign in to comment.