{"id":24360476,"url":"https://github.com/simonsfoundation/mountainlab_test2","last_synced_at":"2026-04-25T01:38:37.615Z","repository":{"id":78765049,"uuid":"70728675","full_name":"simonsfoundation/mountainlab_test2","owner":"simonsfoundation","description":null,"archived":false,"fork":false,"pushed_at":"2016-10-12T18:27:47.000Z","size":9110,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-12-28T18:47:40.732Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/simonsfoundation.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-10-12T18:22:14.000Z","updated_at":"2018-05-21T11:50:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"dcbd2579-663c-4c00-94b1-e1a68996c380","html_url":"https://github.com/simonsfoundation/mountainlab_test2","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/simonsfoundation/mountainlab_test2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonsfoundation%2Fmountainlab_test2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonsfoundation%2Fmountainlab_test2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonsfoundation%2Fmountainlab_test2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonsfoundation%2Fmountainlab_test2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simonsfoundation","download_url":"https://codeload.github.com/simonsfoundation/mountainlab_test2/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonsfoundation%2Fmountainlab_test2/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32247507,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T13:21:15.438Z","status":"ssl_error","status_checked_at":"2026-04-24T13:21:15.005Z","response_time":64,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-18T21:29:52.471Z","updated_at":"2026-04-25T01:38:37.578Z","avatar_url":"https://github.com/simonsfoundation.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MountainLab\n\nThis is a test abc!!\n\nMountainSort is spike sorting software developed by Jeremy Magland, Alex Barnett, and Leslie Greengard at the Simons Center for Data Analysis in close collaboration with Jason Chung and Loren Frank at UCSF department of Physiology. It is part of MountainLab, a general framework for data analysis and visualization.\n\nMountainLab is being developed by Jeremy Magland and Witold Wysota.\n\nThe software comprises tools for processing electrophysiological recordings and for visualizing and validating the results.\n\n## Installation and getting started\n\nThis is easiest if you are on Linux/Ubuntu, but should work on OS X and other flavors of Linux. Windows is also an operating system.\n\nFirst, install the prerequisites (see below).\n\nNext, clone this repository and compile:\n\n\u003e git clone https://github.com/magland/mountainlab.git\n\n\u003e cd mountainlab\n\n\u003e ./compile_components default\n\nAdd mountainlab/bin to your PATH environment variable. For example append\n\n\u003e export PATH=/path/to/mountainlab/bin:$PATH\n\nto your ~/.bashrc file, and open a new terminal.\n\nNext you can go right to the self-contained examples to test your installation.\n\n\u003e cd examples/003_kron_mountainsort\n\n\u003e ./001_generate_synthetic_data.sh\n\nThis will use matlab if you have it installed, otherwise it will use octave. It will generate 5 example synthetic datasets in an examples subdirectory, and the raw data are written to the BIGFILES subdirectory. Thus we begin following the principle of separating large files from their contents, as will be described in more detail.\n\n\u003e kron-run ms example1\n\nThis runs a standard mountainsort processing pipeline.\n\n\u003e kron-view results ms example1\n\nThis should launch the central viewer.\n\n## Installing the prerequesites\n\nLinux/Ubuntu or Debian is easiest. Mac and other Linux flavors should also work. Windows is not necessarily excluded.\n\nThe required packages are: Qt5 (v5.5 or later), FFTW, Octave, NodeJS\n\nThe most up-to-date procedure for installing these packages is reflected in the mountainlab/Dockerfile. But here are the current set of operations for Ubuntu 16.04 (let me know if they are out of date):\n\n#### Qt5\n\nIf you are on a later version of Ubuntu (such as 16.04), you can get away with the installing Qt5 using the package manager. Otherwise, that method may not give a recent enough Qt5 version. In that case (for example if you are on 14.04, or using Mac or other Linux flavor), you should install Qt5 via qt.io website. Instructions are given in a section below.\n\n\u003e apt-get install -y software-properties-common\n\n\u003e apt-add-repository ppa:ubuntu-sdk-team/ppa\n\n\u003e apt-get update\n\n\u003e apt-get install -y qtdeclarative5-dev\n\n\u003e apt-get install -y qt5-default qtbase5-dev qtscript5-dev make g++\n\n#### FFTW\n\u003e apt-get install -y libfftw3-dev\n\n#### Octave\n\u003e apt-get install -y octave\n\n#### NodeJS\n\u003e apt-get install -y nodejs npm\n\n\u003e npm install ini extend\n\n## Installing Qt5 from qt.io\n\nAs mentioned above, if you are not using a later version of Ubuntu, you probably won't get a recent enough version from the package manager. In that case follow these directions to install a recent version of Qt5:\n\nGo to [https://www.qt.io/download/|https://www.qt.io/download/] and click through that you want to install the open source version. Download and run the appropriate installer. Note that you do not need to set up a Qt account -- you can skip that step in the install wizard.\n\nWe recommend installing this in your home directory, which does not require admin privileges.\n\nOnce installed you will need to prepend the path to qmake to your PATH environment variable. On my system that is /home/magland/Qt/5.7/gcc_64/bin.\n\n## How to run spike sorting\n\nSee the following article which explains how to actually perform spike sorting:\n\nhttps://mountainlab.vbulletin.net/articles/15-running-spike-sorting-using-mountainlab\n\n## Older information\n\n[About the software](https://mountainlab.vbulletin.net/articles/22-about-mountainlab)\n\n[Forum](https://mountainlab.vbulletin.net/) -- including documentation and latest developments\n\n## References\n\n[Barnett, Alex H., Jeremy F. Magland, and Leslie F. Greengard. \"Validation of Neural Spike Sorting Algorithms without Ground-truth Information.\" Journal of Neuroscience Methods 264 (2016): 65-77.](http://www.ncbi.nlm.nih.gov/pubmed/26930629) [Link to arXiv](http://arxiv.org/abs/1508.06936)\n\nMagland, Jeremy F., and Alex H. Barnett. Unimodal clustering using isotonic regression: ISO-SPLIT. [Link to arXiv](http://arxiv.org/abs/1508.04841)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonsfoundation%2Fmountainlab_test2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimonsfoundation%2Fmountainlab_test2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonsfoundation%2Fmountainlab_test2/lists"}