Skip to content

Commit f6550b8

Browse files
committed
remove unused variables. pep8 syntax fix
1 parent b29d3ad commit f6550b8

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

specsim/tests/test_camera.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@ def test_resolution():
2121

2222

2323
def test_downsampling():
24-
# Expected resolution matrix rows
2524
from scipy.special import erf
25+
26+
# Expected resolution matrix rows
2627
def expected_resolution_row(x, R, a):
2728
sqrt2 = np.sqrt(2)
2829

@@ -35,8 +36,6 @@ def expected_resolution_row(x, R, a):
3536
i = specsim.instrument.initialize(c)
3637
camera = i.cameras[0]
3738

38-
n = len(camera._output_wavelength)
39-
m = camera._downsampling
4039
rms_in = camera._rms_resolution[camera.ccd_slice.start]
4140
bin_width_out = camera.output_pixel_size.value
4241

0 commit comments

Comments
 (0)