EIT-ALIVE / eitprocessing

Software for electrical impedance tomography data loading, visualization and processing
https://eit-alive.github.io/eitprocessing/
Apache License 2.0
5 stars 0 forks source link

Discuss how to implement categories #273

Closed psomhorst closed 2 months ago

psomhorst commented 2 months ago

Some functions should only work on certain types of data. We added category attributes to data containers to allow functions to check whether they receive the proper type of data. E.g. EELI (#269) should only work with impedance data.

We have not thought out how to implement this category properly. Ideally, the categories are limited to a pre-defined list of options, possibly with sub-options (e.g. "relative pressure" is a subcategory of "pressure"). However, this could complicate things unnecessarily.

psomhorst commented 2 months ago

Discussed by @psomhorst and @JulietteFrancovich and implemented in #280.