bladex.params.ParamFile._check_params

ParamFile._check_params()[source]

Private method that is called while writing a parameter file.

1. The method checks if the user specifies a radii array, otherwise it raises exception.

2. In case no values assigned to any of the remaining parameter arrays then an array of zeros is assigned, in which its length is equal to the radii array.

3. Any array that is not numpy is converted to be one. Finally, in case the user specifies the parameter array values but not with same length, then an exception is raised.