krisrs1128 / clouds_dist

Simulation of low-clouds, from weather measures.
4 stars 1 forks source link

Don't truncate in plots #75

Closed krisrs1128 closed 4 years ago

krisrs1128 commented 4 years ago

We now generate images in the range [-1, 1]. This gets truncated when plotted in numpy -- everything less than 0 becomes black. This means the images we see in comet don't look close to what they really are like (they still look like gaussian noise).

The fix should be easy... just rescale to [0, 1]

x --> .5 * (x + 1)