converting range misregistration to meters

LT1AB
hfattahi 2019-02-10 18:11:56 -08:00
parent 98a67a5254
commit 2bc9553936
1 changed files with 5 additions and 0 deletions

View File

@ -199,6 +199,11 @@ def main(iargs=None):
meanval = np.mean(val) meanval = np.mean(val)
stdval = np.std(val) stdval = np.std(val)
# convert the estimations to meters
medianval = medianval * masterTop.bursts[0].rangePixelSize
meanval = meanval * masterTop.bursts[0].rangePixelSize
stdval = stdval * masterTop.bursts[0].rangePixelSize
hist, bins = np.histogram(val, 50, normed=1) hist, bins = np.histogram(val, 50, normed=1)
center = 0.5*(bins[:-1] + bins[1:]) center = 0.5*(bins[:-1] + bins[1:])