davidclemens / Dingi

Dingi is a toolbox for processing data collected by marine research gear.
MIT License
1 stars 0 forks source link

`bigoFluxAnalysis`: Allow multiple `FitType`s #114

Closed davidclemens closed 1 year ago

davidclemens commented 1 year ago

Feature description

Allow setting of multiple FitTypes. The backend should store a FitType entry for each FluxParameter-Time pair. The frontend can then set those conveniently:

Problem and motivation

Right now, the FitType is applied to all data in a AnalysisKit.bigoAnalysis instance. There are some reasons why multiple FitTypes should be allowed:

  1. Different variables can show different dynamics during an incubation (e.g. oxygen decline is usually not linear)
  2. Data sets may have differing temporal resolution. Sets with a lot of data (e.g. optodes) can support the use of a more complex fitting function, while others (e.g. syringe samples) with less data should mostly be fitted linearly.

Is this something you're interested in working on

Yes.