Skip to content

Commit

Permalink
Memory improvement
Browse files Browse the repository at this point in the history
Don't load in memory.
Write over memmap instead
  • Loading branch information
DradeAW committed Feb 26, 2024
1 parent 984e3c4 commit 37053f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MEArec/generators/recordinggenerator.py
Original file line number Diff line number Diff line change
Expand Up @@ -993,7 +993,7 @@ def generate_recordings(

if verbose_1:
print("Smoothing templates")
templates = templates * window
templates *= window

# delete temporary preprocessed templates
del templates_rs, templates_pad
Expand Down

0 comments on commit 37053f9

Please sign in to comment.