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
Permalink

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 Iframe embedding
swh:1:cnt:1891c21ddef491a0498831ed7c35e74fa6005a7a
Citations

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 ...
The codes you've downloaded act on the output files generated by Actimetrics software. We assume that you collected your data using LumiCycle 32 in 4 minute increments, and accounted for exponential decay of the signal. It is important that you did not save the data with any smoothing, and it is important that the exponential decay correction was using a polynomial correction with a value equivalent to the number of days you recorded luminescence oscillations. Save all data sets as .csv files

LABL9.py fits a 24-hour sine wave on to your data, in 12 hour increments, and records the peaks and the troughs. These data are used to calculate the amplitude. Place the file in the folder with the data sets. Execute the code using "python LABL9.py [filename].csv" for each file. We have found that this level of manual control is necessary for user-control of quality of data. Values that are too low, or arrhythmic "oscillations" reveal inconsistent data.

wavelets4.py fits a Morlet wavelet across the data and records the best-fit period of oscillation for each time point. In this case, every 4 minutes. Run the code from anywhere but inside the folder with data. We prefer to leave a copy of the code with each data set to keep track of the version we used for the analysis. Before execution run command "find . -name '.DS_Store' -type f -delete" to delete invisible file(s) in the folder. Execute wavelets4.py by typing in terminal, "python wavelets4.py". The code will ask you a number of questions. The parameters required are: 

Bandwidth parameter: 3
Central frequency: 1
Data points in a given hour: 15 (because 4 minutes in an hour)
Zero hour mark: 10 (we use subjective lights on at 10 am, hence 10)
Shortest wave to match: 16
Longest wave to match: 72
Select increment: 1 (highest resolution)
Percent threshold: 0.25

These values have been generated through some trial and error, but importantly, were verified using artificial data with known characteristics to ensure the code was executing properly.

The code will then ask you where the data set it, requiring a tree to access it. Enter it and strike <enter>. The code will record all calculations into a folder named "scaleograms".

Software Heritage — Copyright (C) 2015–2025, 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— Contact— JavaScript license information— Web API

back to top