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

Raw File Download

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
content badge
swh:1:cnt:ee4e5f3a961ede683667dc96193c12b63a59e466

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
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
%% Multielectrode --> .mda for MountainSort 

%% Read from Recording Segment
%Z:\1_Maxwell_Gagnon\ProjectData_Sriram\Granule_cell_recording\NR2_F_10_S1
clear;clc;close all
dbstop if error
cd Z:\1_Maxwell_Gagnon\ProjectData_Sriram\Granule_cell_recording\NR2_F_10_S1
seg_file_names = dir;
seg_file_names(~contains({seg_file_names.name}, 'stim_180807_143')) = [];
seg_file_names(contains({seg_file_names.name}, '.mda')) = [];


%% Make mda & params file for each .rhs file
tic
time = NaN(length(seg_file_names),1);

for i = 1:length(seg_file_names)
    
    % open .rhs file
    read_Intan_RHS2000_file(seg_file_names(i).folder, seg_file_names(i).name)
    
    % create mda
    mdaName = fullfile(seg_file_names(i).folder, strrep(seg_file_names(i).name,'.rhs', '_amplifier_data.mda'));
    writemda(amplifier_data, mdaName)
    
    figure()
    % store other useful information in to params file -- OPTIONAL???? TODO
    %sample_rate = frequency_parameters.amplifier_sample_rate;
    %native_chan_names = {amplifier_channels.native_channel_name};
    time(i) = toc;
    print('Done!')
end

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