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/NikVard/memstim-hh
03 January 2024, 01:25:48 UTC
  • Code
  • Branches (12)
  • Releases (0)
  • Visits
    • Branches
    • Releases
    • HEAD
    • refs/heads/NewOpt_6Hz
    • refs/heads/PRC_new_params
    • refs/heads/backup_working_june_2022
    • refs/heads/cuda
    • refs/heads/master
    • refs/heads/minimodel
    • refs/heads/revision
    • refs/heads/working_on_figures
    • refs/tags/v1.0
    • refs/tags/v1.0a
    • refs/tags/v1.0b
    • refs/tags/v1.0c
    • 563f808f6c4f40630f5b8876cc0b440cdf4159e8
    No releases to show
  • 98abfed
  • /
  • setup-env
  • /
  • instructions.txt
Raw File Download Save again
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.

  • content
  • directory
  • revision
  • snapshot
origin badgecontent badge
swh:1:cnt:253cfab68e32a72bc103383db39c2f4e81ee3506
origin badgedirectory badge
swh:1:dir:e66fe2938d7221b877efac36bef1f160d0665a53
origin badgerevision badge
swh:1:rev:563f808f6c4f40630f5b8876cc0b440cdf4159e8
origin badgesnapshot badge
swh:1:snp:c2e27ce82d59e51c3aa0d7aaece24f9f6f9a2889

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.

  • content
  • directory
  • revision
  • 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: 563f808f6c4f40630f5b8876cc0b440cdf4159e8 authored by NikVard on 22 September 2023, 08:19:24 UTC
[UPDATE] Updated default figure names in scripts
Tip revision: 563f808
instructions.txt
We will use conda to setup a new virtual environment using the provided `brianenv2.yml` file.

To setup your environment, follow these steps:

1. Make sure you have Anaconda (or miniconda) installed. The software has been tested on Ubuntu 21.10 using miniconda version 4.10.3

2. Create a conda environment using the provided .yml file as follows (without the quotes): "conda env create --file=brianenv2.yml"

3. Activate the environment in conda: "conda activate brianenv2"

4. You will also need to install `matplotlib-3d` (https://github.com/rougier/matplotlib-3d) as follows:
    4a. Make sure you have installed git. Follow the instructions here (https://git-scm.com/book/en/v2/Getting-Started-Installing-Git) depending on your system
    4b. Type the following command in your terminal, after making sure the conda environment is activated (step 3): "pip install git+https://github.com/rougier/matplotlib-3d"

5. You can run simulations using the following command, using the appropriate arguments: "python3 run_simulation.py -p [parameter_file.json] -sd [output folder]""

Note: for a full list of arguments, run: 'python3 run_simulation.py [-h|--help]

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