-
Notifications
You must be signed in to change notification settings - Fork 240
Open
Labels
curationRelated to curation moduleRelated to curation module
Description
We can extend the apply_curation to a list of curation steps:
class SequentialCuration(BaseModel):
curation_steps: List[CurationModel]
- some validators!!!
Then the apply_curation will be as follows:
def apply_curation(analyzer, curation_or_sequential_curation):
if isinstance(curation_or_sequential_curation, CurationModel):
return apply_one_step_curation(analyzer)
elif isinstance(curation_or_sequential_curation, SequentialCuration):
analyzer_current = analyzer
for curation_step in curation_or_sequential_curation.curation_step:
analyzer_current = apply_one_step_curation(analyzer_current)
return analyzer_current
The SecuentialCuration will also have a method to generate an (n_spikes, n_steps) matrix representation of the curation steps.
Metadata
Metadata
Assignees
Labels
curationRelated to curation moduleRelated to curation module
Type
Projects
Status
In Progress