示例#1
0
        def cluster_manual(ctx, path, channel_group=None, clustering=None):
            """Launch the Kwik GUI on a Kwik file."""

            # Create a `phy.log` log file with DEBUG level.
            _add_log_file(op.join(op.dirname(path), 'phy.log'))

            create_app()
            _run_cmd('_run(path, channel_group, clustering)', ctx, globals(),
                     locals())
示例#2
0
        def cluster_manual(ctx, path, channel_group=None, clustering=None):
            """Launch the Kwik GUI on a Kwik file."""

            # Create a `phy.log` log file with DEBUG level.
            _add_log_file(op.join(op.dirname(path), 'phy.log'))

            create_app()
            _run_cmd('_run(path, channel_group, clustering)',
                     ctx, globals(), locals())
示例#3
0
        def gui(ctx, data_path, **kwargs):
            """Launch the NEO GUI on a NEO readable file."""

            # Create a `phy.log` log file with DEBUG level.
            _add_log_file(op.join(op.dirname(data_path), 'phy.log'))

            create_app()

            _run_cmd('_run(data_path, **kwargs)', ctx, globals(), locals())
示例#4
0
        def gui(ctx, params_path):
            """Launch the Template GUI on a params.py file."""

            # Create a `phy.log` log file with DEBUG level.
            _add_log_file(op.join(op.dirname(params_path), 'phy.log'))

            create_app()

            params = _read_python(params_path)
            params['dtype'] = np.dtype(params['dtype'])

            _run_cmd('_run(params)', ctx, globals(), locals())
示例#5
0
        def cluster_manual(ctx, params_path):
            """Launch the Template GUI on a params.py file."""

            # Create a `phy.log` log file with DEBUG level.
            _add_log_file(op.join(op.dirname(params_path), 'phy.log'))

            create_app()

            params = _read_python(params_path)
            params['dtype'] = np.dtype(params['dtype'])

            _run_cmd('_run(params)', ctx, globals(), locals())