Skip to content

Commit

Permalink
updated test_polarizers.py
Browse files Browse the repository at this point in the history
  • Loading branch information
s0larish authored Nov 3, 2023
1 parent a9761e2 commit b1c5949
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/test_polarizers.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
@fixture
def npol_mzp_zeros():
data_out = []
data_out.append(("angle_1", NDCube(np.array([0]), wcs=wcs, meta={'POLAR': 60.0, 'OBSRVTRY': 'LASCO'})))
data_out.append(("angle_2", NDCube(np.array([0]), wcs=wcs, meta={'POLAR': 0.0, 'OBSRVTRY': 'LASCO'})))
data_out.append(("angle_3", NDCube(np.array([0]), wcs=wcs, meta={'POLAR': -60.0, 'OBSRVTRY': 'LASCO'})))
data_out.append(("angle_1", NDCube(np.array([0]), wcs=wcs, meta={'POLAR': 60.0, 'OBSRVTRY': 'STEREO_A'})))
data_out.append(("angle_2", NDCube(np.array([0]), wcs=wcs, meta={'POLAR': 0.0, 'OBSRVTRY': 'STEREO_A'})))
data_out.append(("angle_3", NDCube(np.array([0]), wcs=wcs, meta={'POLAR': -60.0, 'OBSRVTRY': 'STEREO_A'})))
data_out.append(("alpha", NDCube(np.array([0])*u.degree, wcs=wcs)))
return NDCollection(data_out, meta={}, aligned_axes="all")

Expand All @@ -37,9 +37,9 @@ def test_npol_mzp_zeros(npol_mzp_zeros):
@fixture
def npol_mzp_ones():
data_out = []
data_out.append(("angle_1", NDCube(np.array([1]), wcs=wcs, meta={'POLAR': 60, 'OBSRVTRY': 'LASCO'})))
data_out.append(("angle_2", NDCube(np.array([1]), wcs=wcs, meta={'POLAR': 0, 'OBSRVTRY': 'LASCO'})))
data_out.append(("angle_3", NDCube(np.array([1]), wcs=wcs, meta={'POLAR': -60, 'OBSRVTRY': 'LASCO'})))
data_out.append(("angle_1", NDCube(np.array([1]), wcs=wcs, meta={'POLAR': 60, 'OBSRVTRY': 'STEREO_B'})))
data_out.append(("angle_2", NDCube(np.array([1]), wcs=wcs, meta={'POLAR': 0, 'OBSRVTRY': 'STEREO_B'})))
data_out.append(("angle_3", NDCube(np.array([1]), wcs=wcs, meta={'POLAR': -60, 'OBSRVTRY': 'STEREO_B'})))
# data_out.append(("alpha", NDCube(np.array([0]))*u.radian, wcs=wcs))
return NDCollection(data_out, meta={}, aligned_axes="all")

Expand Down

0 comments on commit b1c5949

Please sign in to comment.