braincore.util.IdMemScaling#
- class braincore.util.IdMemScaling[source]#
The identity scaling object.
The identity scaling object is used to transform the membrane potential to the standard range, and reversely transform the standard range to the membrane potential.
Methods
__init__()clone()Clone the scaling object.
offset(x[, bias])Transform the membrane potential to the standard range.
rev_offset(x[, bias])Reversely transform the standard range to the original membrane potential.
rev_scale(x[, scale])Reversely transform the standard range to the original membrane potential.
rev_scale_offset(x[, bias, scale])Reversely transform the standard range to the original membrane potential.
scale(x[, scale])Transform the membrane potential to the standard range.
scale_offset(x[, bias, scale])Transform the membrane potential to the standard range.
transform(oring_range[, target_range])Transform the membrane potential range to a
Scalinginstance.