diff options
author | Slasnista <stan.chambon@gmail.com> | 2017-08-29 09:05:01 +0200 |
---|---|---|
committer | Nicolas Courty <Nico@MacBook-Pro-de-Nicolas.local> | 2017-09-01 11:09:13 +0200 |
commit | 3730779200896ee7de533eb7c5d7fa19e09eeb25 (patch) | |
tree | 9a043f3247afab2bafdb4b3ce980276f3d95361c /examples/da/plot_otda_mapping_colors_images.py | |
parent | f8744a33b380ce6a2ea98b0f340c72be1674579b (diff) |
addressed AG comments + adding random seed
Diffstat (limited to 'examples/da/plot_otda_mapping_colors_images.py')
-rw-r--r-- | examples/da/plot_otda_mapping_colors_images.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/da/plot_otda_mapping_colors_images.py b/examples/da/plot_otda_mapping_colors_images.py index 4209020..6c024ea 100644 --- a/examples/da/plot_otda_mapping_colors_images.py +++ b/examples/da/plot_otda_mapping_colors_images.py @@ -23,6 +23,8 @@ from scipy import ndimage import matplotlib.pylab as pl import ot +np.random.seed(42) + def im2mat(I): """Converts and image to matrix (one pixel per line)""" |