Skip to content

Commit

Permalink
Merge pull request #172 from kushalbakshi/per-plane-processing
Browse files Browse the repository at this point in the history
Revert old `slice` commit
  • Loading branch information
sidhulyalkar authored Oct 16, 2023
2 parents 139f5bb + c45ee5d commit 7651d35
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions element_calcium_imaging/imaging_no_curation.py
Original file line number Diff line number Diff line change
Expand Up @@ -1533,17 +1533,7 @@ def make(self, key):
params, method = (ProcessingParamSet * ProcessingTask & key).fetch1(
"params", "processing_method"
)
if "indices" in params:
caiman_params = {
"motion": {
"indices": (
slice(*params["indices"][0]),
slice(*params["indices"][1]),
)
}
}
else:
caiman_params = params
caiman_params = params
sampling_rate = (scan.ScanInfo & key).fetch1("fps")
channel = params.get("channel_to_process", 0)

Expand Down

0 comments on commit 7651d35

Please sign in to comment.