tretherington / nlmpy

A Python package to create neutral landscape models
MIT License
11 stars 3 forks source link

Establish multiple rescaling options #5

Open tretherington opened 3 years ago

tretherington commented 3 years ago

With the exception of the Perlin noise function, all functions currently rescale values between 0 and 1 linearly. The Perlin noise function also has options to use absolute and squared functions before linear rescaling to provide different effects. It could be useful to make these other rescaling options into general functions, and allow other NLM functions such as the mid-point displacement to also call them - as like Perlin noise the mid-point displacement algorithm produces negative and positive values.