Пример #1
0
def main():
    # I force using singularity for kilosort2 because on my computer, when docker tries to use gpu it messes up nvidia-container-cli and I need to restart the computer
    import os
    os.environ['HITHER_USE_SINGULARITY'] = 'TRUE'
    srcdir = os.path.dirname(os.path.realpath(__file__))
    os.environ['KILOSORT2_PATH'] = os.path.join(srcdir, '..', '..', 'spikeforest2', 'sorters', 'kilosort2', 'matlab', 'Kilosort2')
    test_sort_tetrode(sorter_name='kilosort2', min_avg_accuracy=0.15, container=None)
def main():
    # I force using singularity for kilosort2 because on my computer, when docker tries to use gpu it messes up nvidia-container-cli and I need to restart the computer
    import os
    os.environ['HITHER_USE_SINGULARITY'] = 'TRUE'
    test_sort_tetrode(sorter_name='kilosort2',
                      min_avg_accuracy=0.15,
                      num_jobs=2,
                      job_handler=hither.ParallelJobHandler(2))
Пример #3
0
def main():
    import os

    os.environ['HITHER_USE_SINGULARITY'] = 'TRUE'
    container = 'default'

    test_sort_tetrode(sorter_name='jrclust',
                      min_avg_accuracy=0.25,
                      container=container)
def main():
    # I force using singularity for kilosort2 because on my computer, when docker tries to use gpu it messes up nvidia-container-cli and I need to restart the computer
    import os
    os.environ['HITHER_USE_SINGULARITY'] = 'TRUE'
    jh = hither.SlurmJobHandler(
        working_dir='tmp_slurm',
        num_workers_per_batch=2,
        num_cores_per_job=2,
        use_slurm=True,
        additional_srun_opts=['-p gpu', '--gres=gpu:v100-32gb:1']
    )
    test_sort_tetrode(sorter_name='kilosort2', min_avg_accuracy=0.15, num_jobs=1, job_handler=jh)
Пример #5
0
def main():
    test_sort_tetrode(sorter_name='spykingcircus', min_avg_accuracy=0.15)
Пример #6
0
def main():
    test_sort_tetrode(sorter_name='herdingspikes2', min_avg_accuracy=0.1)
Пример #7
0
def main():
    test_sort_tetrode(sorter_name='klusta', min_avg_accuracy=0.2)
def main():
    test_sort_tetrode(sorter_name='mountainsort4', min_avg_accuracy=0.4)
Пример #9
0
def main():
    os.environ['HITHER_USE_SINGULARITY'] = 'TRUE'
    test_sort_tetrode(sorter_name='tridesclous', min_avg_accuracy=0.05)
def main():
    test_sort_tetrode(sorter_name='ironclust', min_avg_accuracy=0.4)
def main():
    test_sort_tetrode(sorter_name='tridesclous', min_avg_accuracy=0.05)