pyphi.substrate_generator.utils.map_to_floor_and_ceil#

pyphi.substrate_generator.utils.map_to_floor_and_ceil(y, floor, ceiling)[source]#

Rescale an activation probability y in [0, 1] to [floor, ceiling].