jessecusack / perturb

A tool for processing microstructure data from Rockland Scientific instruments
GNU General Public License v3.0
2 stars 1 forks source link

Implement core functionality with unit tests #2

Open jessecusack opened 1 year ago

jessecusack commented 1 year ago

Develop the code that gets us from p files to dissipation estimates per profile. This is actually quite a big task with lots of substeps that may need to be broken down. The main parts are:

Unit testing frameworks in matlab:

https://www.mathworks.com/help/matlab/matlab_prog/ways-to-write-unit-tests.html

mousebrains commented 1 year ago

A working version of my code is now checked in. There is a script to run it in Examples/example.m using the dataset that is in repository.

L1 is process, but needs work for the naming conventions, QC, and unit tests. L2 is processed, but needs work for the naming conventions, QC, and unit tests. L3 is processed, but needs work for the naming conventions, QC, and unit tests.

I believe I've made all the public facing naming convention consistent with snake, but there are still a lot of internal variables that are in camel.

jessecusack commented 1 year ago

Great, thanks Pat. I'll try running it later this week.