Skip to content

CurveFit documentation - #56

Open
alirezazolanvari wants to merge 9 commits into
devfrom
curve-fit-doc
Open

alirezazolanvari wants to merge 9 commits into
devfrom
curve-fit-doc

Conversation

@alirezazolanvari

Copy link
Copy Markdown
Member

What does this implement/fix? Explain your changes.

  • Add documentation for CurveFit class in README.md.

@alirezazolanvari alirezazolanvari added this to the drux v0.5 milestone Sep 8, 2026
@alirezazolanvari alirezazolanvari self-assigned this Sep 8, 2026
@alirezazolanvari alirezazolanvari added the documentation Improvements or additions to documentation label Sep 8, 2026
@codecov-commenter

codecov-commenter commented Sep 8, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.03%. Comparing base (a6b91d8) to head (e560a31).

Additional details and impacted files
@@           Coverage Diff           @@
##              dev      #56   +/-   ##
=======================================
  Coverage   99.03%   99.03%           
=======================================
  Files          10       10           
  Lines         309      309           
  Branches       33       33           
=======================================
  Hits          306      306           
  Misses          2        2           
  Partials        1        1           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@alirezazolanvari
alirezazolanvari marked this pull request as ready for review September 8, 2026 17:17
Comment thread README.md Outdated
### Known Parameters
If you know the value of a parameter, give it in the `known_parameters` argument. Use the parameter names in the table above. `CurveFit` keeps these values constant and calculates only the other parameters.

⚠️ All the parameters of a model cannot always be calculated from a release profile. Some models use a group of parameters only as one product or one ratio. Many different combinations of these parameters give the same value for this group. Thus, the fit has no unique solution, and the calculated values can be different from the true physical values. To prevent this problem, give at least **two** parameters of each group in the `known_parameters` argument. Two of the models have such a group:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To prevent this problem, ... contains two spaces

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 7b25a99.

Comment thread README.md Outdated

You can fit all the models above. This table gives the name and the parameters of each model:

| Model | `model_name` | Parameters |

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I notice a potential redundancy and recommend deleting the first column.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 857e496.

@sepandhaghighi sepandhaghighi left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@alirezazolanvari

Please update CHANGELOG.md

Comment thread README.md Outdated

You can fit all the models above. This table gives the name and the parameters of each model:

| `model_name` | Parameters |

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Model Name model_name

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants