bugfix in angle scan processing

This commit is contained in:
2020-06-16 14:31:51 +02:00
parent ef9d08e5f5
commit f419e92809
2 changed files with 4 additions and 4 deletions

View File

@ -714,9 +714,9 @@ function crop_strip_theta(strip, theta_lo, theta_hi, theta, tilt, phi)
variable nx = dimsize(strip, 0)
variable ny = numpnts(idx)
theta = theta[idx]
tilt = tilt[idx]
phi = phi[idx]
theta[0, ny-1] = theta[idx]
tilt[0, ny-1] = tilt[idx]
phi[0, ny-1] = phi[idx]
redimension /n=(ny) theta, tilt, phi
duplicate /free strip, strip_copy