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/deniztop/LABL
02 May 2025, 11:37:58 UTC
  • Code
  • Branches (1)
  • Releases (0)
  • Visits
Revision 67f0256ccd5a1469bf33da1a860f1c845c89b330 authored by deniztop on 23 October 2021, 09:34:30 UTC, committed by GitHub on 23 October 2021, 09:34:30 UTC
Add files via upload
1 parent dc89d6a
  • Files
  • Changes
    • Branches
    • Releases
    • HEAD
    • refs/heads/main
    • 67f0256ccd5a1469bf33da1a860f1c845c89b330
    No releases to show
  • b6bd1a2
  • /
  • Readme_LABL.txt
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 ...

Permalinks

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:67f0256ccd5a1469bf33da1a860f1c845c89b330
origin badgedirectory badge Iframe embedding
swh:1:dir:b6bd1a29ed8619aa4544811d08046f9a58c1b0f2
origin badgecontent badge Iframe embedding
swh:1:cnt:1891c21ddef491a0498831ed7c35e74fa6005a7a
origin badgesnapshot badge
swh:1:snp:2d3ac023c963df62dc86d83828d33a919fac0c18
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.

  • 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: 67f0256ccd5a1469bf33da1a860f1c845c89b330 authored by deniztop on 23 October 2021, 09:34:30 UTC
Add files via upload
Tip revision: 67f0256
Readme_LABL.txt
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".
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 ...

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