equadratures icon indicating copy to clipboard operation
equadratures copied to clipboard

Data Argument for creating parameters

Open Simardeep27 opened this issue 3 years ago • 0 comments

This argument allows the user to create parameters based on scipy.fit() method. The user won't be required to input the required arguments for the selected distributions and simply pass the data for which they want to create a parameter object.

Syntax: eq.Parameter(distribution='gaussian',data=arr)

Currently, data parameter is added for:

  1. Uniform
  2. Gaussian
  3. Lognormal
  4. Exponential
  5. Beta

The required documentation has been added and test cases have been added in tests/test_parameter.py

Simardeep27 avatar Aug 27 '21 20:08 Simardeep27