Skip to content

Commit

Permalink
Merge branch 'main' of github.com:cwindolf/spike-psvae into main
Browse files Browse the repository at this point in the history
  • Loading branch information
cwindolf committed Nov 7, 2023
2 parents 2ef7a3a + 65e8eea commit 842f079
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/dartsort/transform/all_transformers.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from .amplitudes import AmplitudeVector, MaxAmplitude
from .enforce_decrease import EnforceDecrease
from .localize import Localization
from .localize import Localization, PointSourceLocalization
from .single_channel_denoiser import SingleChannelWaveformDenoiser
from .temporal_pca import TemporalPCADenoiser, TemporalPCAFeaturizer
from .transform_base import Waveform
Expand All @@ -14,6 +14,7 @@
TemporalPCADenoiser,
TemporalPCAFeaturizer,
Localization,
PointSourceLocalization,
]

transformers_by_class_name = {cls.__name__: cls for cls in all_transformers}
2 changes: 2 additions & 0 deletions src/dartsort/transform/localize.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,5 @@ def transform(self, waveforms, max_channels=None):
]
)
return localizations

PointSourceLocalization = Localization

0 comments on commit 842f079

Please sign in to comment.