Update the RPI model and clean up the examples section

This commit is contained in:
Abe Levitan
2021-07-06 13:58:00 -04:00
parent 8ddcc7683f
commit 53cd966c33
25 changed files with 121 additions and 165 deletions
+2 -2
View File
@@ -164,8 +164,8 @@ def plot_image(im, plot_func=lambda x: x, fig=None, basis=None, units='$\\mu$m',
basis_norm = np.linalg.norm(np_basis, axis = 0)
basis_norm = basis_norm * get_units_factor(units)
extent = [0, to_plot.shape[-1]*basis_norm[1], 0,
to_plot.shape[-2]*basis_norm[0]]
extent = [0, im.shape[-1]*basis_norm[1], 0,
im.shape[-2]*basis_norm[0]]
else:
extent=None