def test_backprojection(): """ Test that backprojection returns a map with the expected time. """ test_filename = 'hsi_calib_ev_20020220_1106_20020220_1106_25_40.fits' amap = rhessi.backprojection(get_test_filepath(test_filename)) assert isinstance(amap, sunpy.map.GenericMap) assert is_time_equal(amap.date, parse_time((2002, 2, 20, 11, 6, 21)))
def test_backprojection(): amap = rhessi.backprojection( os.path.join(testpath, 'hsi_calib_ev_20020220_1106_20020220_1106_25_40.fits')) assert isinstance(amap, sunpy.map.GenericMap) assert amap.date == datetime(2002, 2, 20, 11, 6, 21)
def test_backprojection(): amap = rhessi.backprojection(os.path.join(testpath, 'hsi_calib_ev_20020220_1106_20020220_1106_25_40.fits')) assert isinstance(amap, sunpy.map.GenericMap) assert amap.date == datetime(2002, 2, 20, 11, 6, 21)