Module containing procedures for normalising input and output data
Renormalise input data to a specified range
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=real32), | intent(inout), | dimension(:) | :: | input |
Input data to be renormalised |
|
| real(kind=real32), | intent(in), | optional | :: | min |
Minimum and maximum values for renormalisation |
|
| real(kind=real32), | intent(in), | optional | :: | max |
Minimum and maximum values for renormalisation |
Renormalise input data to a unit norm
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=real32), | intent(inout), | dimension(:) | :: | input |
Input data to be renormalised |
|
| real(kind=real32), | intent(in), | optional | :: | norm |
Desired norm value |
|
| logical, | intent(in), | optional | :: | mirror |
Boolean whether the data should be mirrored |
Renormalise input data to a unit sum
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=real32), | intent(inout), | dimension(:) | :: | input |
Input data to be renormalised |
|
| real(kind=real32), | intent(in), | optional | :: | norm |
Desired sum value |
|
| logical, | intent(in), | optional | :: | mirror |
Booleans whether the data should be mirrored or use magnitude |
|
| logical, | intent(in), | optional | :: | magnitude |
Booleans whether the data should be mirrored or use magnitude |