Skip to content

Commit

Permalink
refactor check_linear_fit
Browse files Browse the repository at this point in the history
  • Loading branch information
Brandon Duane Walker authored and Brandon Duane Walker committed Jun 10, 2024
1 parent 23fb84d commit d0c1369
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
15 changes: 7 additions & 8 deletions utils/fitting/check-linear-fit-tool/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,13 @@ check_linear_fit

## Options

This plugin takes 6 input arguments and 1 output argument:
This plugin takes 5 input arguments and 1 output argument:

| Name | Description | I/O | Type | Default |
|---------------|-------------------------|--------|--------|---------|
| script | | Input | string | string |
| xs | | Input | {'type': 'array', 'items': 'float'} | {'type': 'array', 'items': 'float'} |
| ys | | Input | {'type': 'array', 'items': 'float'} | {'type': 'array', 'items': 'float'} |
| tol_quad | | Input | float | float |
| slope_min | | Input | float | float |
| slope_max | | Input | float | float |
| success | | Output | boolean | boolean |
| xs | x-axis input array | Input | {'type': 'array', 'items': 'float'} | {'type': 'array', 'items': 'float'} |
| ys | y-axis input array | Input | {'type': 'array', 'items': 'float'} | {'type': 'array', 'items': 'float'} |
| tol_quad | Quadratic tolerance term for determining if fit is linear | Input | float | float |
| slope_min | Min slope cut off | Input | float | float |
| slope_max | Max slope cut off | Input | float | float |
| success | Whether fit was successful or not | Output | boolean | boolean |
4 changes: 2 additions & 2 deletions utils/fitting/check-linear-fit-tool/ict.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ container: check-linear-fit-tool
entrypoint:
title: check_linear_fit
description: check_linear_fit
author: Data Scientist
contact: [email protected]
author: Brandon Walker, Nazanin Donyapour
contact: [email protected], [email protected]
repository:
documentation:
citation:
Expand Down

0 comments on commit d0c1369

Please sign in to comment.