Skip to content

Commit

Permalink
Remove prints
Browse files Browse the repository at this point in the history
  • Loading branch information
cwindolf committed Jan 16, 2024
1 parent 81d346f commit 1f5e6a9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
4 changes: 0 additions & 4 deletions src/dartsort/util/analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,8 +318,6 @@ def unit_raw_waveforms(
spike_length_samples=spike_length_samples,
fill_value=np.nan,
)
print(f"analysis unit_raw_waveforms {waveforms.shape=} {load_ci.shape=}")
print(f"analysis unit_raw_waveforms {self.shifting=}")
if not self.shifting:
return which, waveforms

Expand Down Expand Up @@ -434,8 +432,6 @@ def unit_shift_or_relocate_channels(
show_chans = show_chans[show_chans < len(show_geom)]
show_channel_index = np.broadcast_to(show_chans[None], (len(show_geom), show_chans.size))

print(f"analysis relocate {load_channel_index.shape=} {show_chans.shape=}")

if not self.shifting:
return waveforms, max_chan, show_geom, show_channel_index

Expand Down
3 changes: 0 additions & 3 deletions src/dartsort/vis/unit.py
Original file line number Diff line number Diff line change
Expand Up @@ -341,8 +341,6 @@ def draw(self, axis, sorting_analysis, unit_id):
show_superres_templates = suptemplates.shape[0] > 1
max_abs_amp = self.max_abs_template_scale * np.abs(suptemplates).max()

print(f"{waveforms.shape=} {ci.shape=}")

ls = geomplot(
waveforms,
max_channels=np.full(len(waveforms), max_chan),
Expand Down Expand Up @@ -574,7 +572,6 @@ def make_unit_summary(
axes = cardfig.subplots(nrows=len(card.plots), ncols=1)
axes = np.atleast_1d(axes)
for plot, axis in zip(card.plots, axes):
print(f"{plot=} {unit_id=}")
plot.draw(axis, sorting_analysis, unit_id)

# clean up the panels, or else things get clipped
Expand Down

0 comments on commit 1f5e6a9

Please sign in to comment.