stormage2 / huji_lab

A physics lab data analysis package. Mostly a wrapper.
MIT License
0 stars 1 forks source link

Ignore certain values of array when fitting #7

Open stormage2 opened 5 years ago

stormage2 commented 5 years ago

By Shai's request: Add an option to drop certain values of from the array of the experiment's dataset, so the fitting function will ignore them when predicting the fitting parameters.

Example: Say we have the data: XXXX YYYY
1 1
2 4
3 8
4 16

fitting with the 3rd row will give an off- function of x^2, while fitting without it will give exactly the x^2 function.