catalystneuro / roiextractors

Python-based module for extracting from, converting between, and handling optical imaging data from several file formats. Inspired by SpikeInterface.
https://roiextractors.readthedocs.io/en/latest/index.html
BSD 3-Clause "New" or "Revised" License
11 stars 7 forks source link

provenance tracking #30

Open bendichter opened 4 years ago

bendichter commented 4 years ago

@alejoe91, @Saksham20 and I were discussing ways of documenting the raw data, the algorithm, and the input parameters for SegmentationExtractor objects. I wonder if your framework could help here? I think we should have uniformity across the Extractor libraries for provenance tracking if possible.

alejoe91 commented 4 years ago

Hi @bendichter

The provenance tracking is currently making use of the spikeextractor base class. We just need to add all input arguments the self._kwargs dictionary. This makes the objects dumpable to a json, which can be saved alongside with the segmentation specific params.