From b1c594938f733943d324ba73c5d93a0ac8706c48 Mon Sep 17 00:00:00 2001 From: Ritesh Patel <84658086+s0larish@users.noreply.github.com> Date: Fri, 3 Nov 2023 07:08:31 -0600 Subject: [PATCH] updated test_polarizers.py --- tests/test_polarizers.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/test_polarizers.py b/tests/test_polarizers.py index 93b4e38..5314a83 100644 --- a/tests/test_polarizers.py +++ b/tests/test_polarizers.py @@ -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") @@ -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")