code changes for release 2.2.0
This commit is contained in:
@ -1,9 +1,12 @@
|
||||
#pragma TextEncoding = "UTF-8"
|
||||
#pragma rtGlobals=3 // Use modern global access method and strict wave access.
|
||||
#pragma version = 1.8
|
||||
#pragma IgorVersion = 6.2
|
||||
#pragma ModuleName = PearlAnglescanPanel
|
||||
#include "pearl-anglescan-process"
|
||||
#include "pearl-pmsco-import"
|
||||
#include "pearl-scienta-preprocess"
|
||||
#include "pearl-area-display"
|
||||
|
||||
// copyright (c) 2018-20 Paul Scherrer Institut
|
||||
//
|
||||
@ -430,9 +433,9 @@ static function delete_rows(rows, data, theta, tilt, phi)
|
||||
extract /free idx, idx, idx >= 0
|
||||
variable nx = dimsize(data, 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 data, data_copy
|
||||
redimension /n=(nx,ny) data
|
||||
|
Reference in New Issue
Block a user