Skip to content
Snippets Groups Projects
Commit a51edc5d authored by Trent Hare's avatar Trent Hare Committed by GitHub
Browse files

Merge pull request #57 from jessemapel/lronac

Updated LRO NAC comparison NB
parents 81ae80c7 5e683e46
No related branches found
No related tags found
No related merge requests found
...@@ -294,7 +294,7 @@ def plot_diff_3d_cone(data, title='3D diff plot', colx='x', coly='y', colz='z', ...@@ -294,7 +294,7 @@ def plot_diff_3d_cone(data, title='3D diff plot', colx='x', coly='y', colz='z',
return fig return fig
def reprojection_diff(isd, cube, nx=10, ny=50, width=500, height=500): def reprojection_diff(isd, cube, nx=10, ny=50, width=500, height=500, edge_pad=0.0):
""" """
""" """
...@@ -304,7 +304,7 @@ def reprojection_diff(isd, cube, nx=10, ny=50, width=500, height=500): ...@@ -304,7 +304,7 @@ def reprojection_diff(isd, cube, nx=10, ny=50, width=500, height=500):
nsamples = isdjson['image_samples'] nsamples = isdjson['image_samples']
# generate meshgrid # generate meshgrid
xs, ys = np.mgrid[0:nsamples:nsamples/nx, 0:nlines:nlines/ny] xs, ys = np.mgrid[edge_pad:nsamples-edge_pad:nsamples/nx, edge_pad:nlines-edge_pad:nlines/ny]
xs, ys = xs.flatten(), ys.flatten() xs, ys = xs.flatten(), ys.flatten()
csmcam = csm.create_csm(isd) csmcam = csm.create_csm(isd)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment