Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

https://github.com/LKANG777/Beta-Oscillation
11 January 2026, 23:33:32 UTC
  • Code
  • Branches (2)
  • Releases (0)
  • Visits
Revision dee52d24f28de078d94272131840b51c5f336513 authored by Ling KANG on 10 March 2023, 03:30:58 UTC, committed by GitHub on 10 March 2023, 03:30:58 UTC
Create LICENSE
1 parent c0feac8
  • Files
  • Changes
    • Branches
    • Releases
    • HEAD
    • refs/heads/add-license-1
    • refs/heads/main
    • dee52d24f28de078d94272131840b51c5f336513
    No releases to show
  • 310170d
  • /
  • README.md
Raw File Download
Take a new snapshot of a software origin

If the archived software origin currently browsed is not synchronized with its upstream version (for instance when new commits have been issued), you can explicitly request Software Heritage to take a new snapshot of it.

Use the form below to proceed. Once a request has been submitted and accepted, it will be processed as soon as possible. You can then check its processing state by visiting this dedicated page.
swh spinner

Processing "take a new snapshot" request ...

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • revision
  • directory
  • content
  • snapshot
origin badgerevision badge
swh:1:rev:dee52d24f28de078d94272131840b51c5f336513
origin badgedirectory badge
swh:1:dir:310170d5a4a6ae04f71196690e91da077d43f518
origin badgecontent badge
swh:1:cnt:56d689dfd75ac9024e53c1f693acc4eb9266bbd5
origin badgesnapshot badge
swh:1:snp:a5ba33b1128348eae7522a0a37ee96a529d8d998

This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
Select below a type of object currently browsed in order to generate citations for them.

  • revision
  • directory
  • content
  • snapshot
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Tip revision: dee52d24f28de078d94272131840b51c5f336513 authored by Ling KANG on 10 March 2023, 03:30:58 UTC
Create LICENSE
Tip revision: dee52d2
README.md
## README

This repository contains the simulation source code and example data analysis scripts for the following article:

L. Kang, J. Ranft, and V. Hakim, Beta oscillations and waves in motor cortex can be accounted for by the interplay of spatially-structured connectivity and fluctuating inputs, eLife (2023)

### Simulation

To run the simulation, simply compile and execute the source code according to

`$ g++ -O3 simulation.cpp -o simulation`

Most standard C++ compilers should work, we tried Apple clang version 14.0.0 (clang-1400.0.29.202), GNU g++ 12.2.0 (Homebrew GCC 12.2.0) and GNU g++ 11.3.0 (Ubuntu 11.3.0-1ubuntu1~22.04).

Then simply run the executable with the command

`$ ./simulation`

Parameters are hardcoded and here chosen as the parameter set SN of the article. By modifying the parameters in the source code, different parameter regimes can be explored.

### Analysis

We performed all data analysis with own Python scripts (tested with Python 3.9 and scipy 1.7.3). 

The script inspect_simulation.py plots the data generated by the simulation; parameters are again hardcoded but can be changed easily. The script furthermore generates .npy files of the data that can be used as input for the wave classification analysis script.

The script wave_classification.py contains all functions to analyze and classify the different wave patterns present in the ‘surrogate-LFP’ simulated by our model, as well as the actual LFP data. To allow the script to be tested without having to run a new simulation, we also provide example data of a 5s simulation run that contains a planar wave episode.
The diff you're trying to view is too large. Only the first 1000 changed files have been loaded.
Showing with 0 additions and 0 deletions (0 / 0 diffs computed)
swh spinner

Computing file changes ...

back to top

Software Heritage — Copyright (C) 2015–2026, The Software Heritage developers. License: GNU AGPLv3+.
The source code of Software Heritage itself is available on our development forge.
The source code files archived by Software Heritage are available under their own copyright and licenses.
Terms of use: Archive access, API— Content policy— Contact— JavaScript license information— Web API