forked from LorenFrankLab/spyglass
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
109 additions
and
174 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,12 @@ | ||
{ | ||
"editor.formatOnSave": true, | ||
"files.trimTrailingWhitespace": true, | ||
"files.trimFinalNewlines": true, | ||
"editor.multiCursorModifier": "ctrlCmd", | ||
"autoDocstring.docstringFormat": "numpy", | ||
"remote.SSH.remoteServerListenOnSocket": true, | ||
"git.confirmSync": false, | ||
"python.analysis.typeCheckingMode": "off", | ||
"[python]": { | ||
"editor.defaultFormatter": "ms-python.black-formatter", | ||
"editor.formatOnSave": true, | ||
"editor.codeActionsOnSave": { | ||
"source.organizeImports": true | ||
}, | ||
}, | ||
"isort.args": [ | ||
"--profile", | ||
"black" | ||
], | ||
"editor.formatOnSave": true, | ||
"files.trimTrailingWhitespace": true, | ||
"files.trimFinalNewlines": true, | ||
"autoDocstring.docstringFormat": "numpy", | ||
"remote.SSH.remoteServerListenOnSocket": true, | ||
"git.confirmSync": false, | ||
"python.analysis.typeCheckingMode": "off", | ||
"[python]": { | ||
"editor.defaultFormatter": "ms-python.black-formatter" | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import datajoint as dj | ||
from spyglass.common.common_session import Session | ||
|
||
schema = dj.schema("spikesorting_imported") | ||
|
||
|
||
@schema | ||
class ImportedSpikeSorting(dj.Imported): | ||
definition = """ | ||
-> Session | ||
--- | ||
object_id: varchar(32) | ||
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
import datajoint as dj | ||
|
||
from spyglass.spikesorting.v1.curation import CurationV1 # noqa: F401 | ||
from spyglass.spikesorting.imported import ImportedSpikeSorting # noqa: F401 | ||
from spyglass.utils.dj_merge_tables import _Merge | ||
|
||
schema = dj.schema("spikesorting_merge") | ||
|
||
|
||
@schema | ||
class SpikeSortingOutput(_Merge): | ||
definition = """ | ||
merge_id: uuid | ||
--- | ||
source: varchar(32) | ||
""" | ||
|
||
class CurationV1(dj.Part): | ||
definition = """ | ||
-> master | ||
--- | ||
-> CurationV1 | ||
""" | ||
|
||
class ImportedSpikeSorting(dj.Part): | ||
definition = """ | ||
-> master | ||
--- | ||
-> ImportedSpikeSorting | ||
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,21 @@ | ||
from .curation_figurl import CurationFigurl, CurationFigurlSelection | ||
from .sortingview import SortingviewWorkspace, SortingviewWorkspaceSelection | ||
from .spikesorting_artifact import ( | ||
ArtifactDetection, | ||
ArtifactDetectionParameters, | ||
ArtifactDetectionSelection, | ||
ArtifactRemovedIntervalList, | ||
) | ||
from .spikesorting_curation import ( | ||
AutomaticCuration, | ||
AutomaticCurationParameters, | ||
AutomaticCurationSelection, | ||
CuratedSpikeSorting, | ||
CuratedSpikeSortingSelection, | ||
Curation, | ||
MetricParameters, | ||
MetricSelection, | ||
QualityMetrics, | ||
UnitInclusionParameters, | ||
WaveformParameters, | ||
Waveforms, | ||
WaveformSelection, | ||
) | ||
from .spikesorting_populator import ( | ||
SpikeSortingPipelineParameters, | ||
spikesorting_pipeline_populator, | ||
) | ||
from .spikesorting_recording import ( | ||
from .recording import ( | ||
SortGroup, | ||
SortInterval, | ||
SpikeSortingPreprocessingParameters, | ||
SpikeSortingRecording, | ||
SpikeSortingRecordingSelection, | ||
SpikeSortingRecording, | ||
) | ||
from .artifact import ( | ||
ArtifactDetectionParameters, | ||
ArtifactDetectionSelection, | ||
ArtifactDetection, | ||
) | ||
from .spikesorting_sorting import ( | ||
SpikeSorterParameters, | ||
SpikeSorting, | ||
SpikeSortingSelection, | ||
from .sorting import SpikeSorterParameters, SpikeSortingSelection, SpikeSorting | ||
from .curation import CurationV1 | ||
from .metric_curation import ( | ||
WaveformParameters, | ||
MetricParameters, | ||
MetricCurationParameters, | ||
MetricCurationSelection, | ||
MetricCuration, | ||
) | ||
from .figurl_curation import FigURLCurationSelection, FigURLCuration |
Oops, something went wrong.