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://gitlab.com/tgwgraham/papacode_v2
14 April 2025, 12:08:27 UTC
  • Code
  • Branches (2)
  • Releases (0)
  • Visits
    • Branches
    • Releases
    • HEAD
    • refs/heads/main
    • refs/heads/tgwgraham-main-patch-61314
    No releases to show
  • e2ce567
  • /
  • settings.toml
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.

  • content
  • directory
  • revision
  • snapshot
origin badgecontent badge Iframe embedding
swh:1:cnt:fafecd4d9d6ace5abe140eca733cdbea4b0ed3e3
origin badgedirectory badge Iframe embedding
swh:1:dir:e2ce567f2eb2e4060018e73e79b6d32efd29ce8d
origin badgerevision badge
swh:1:rev:9467123d0332ae38180dbca3f8eba4c046eda267
origin badgesnapshot badge
swh:1:snp:8c995f03bf098bd9e1627b4fba019109aa33569b
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
  • 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: 9467123d0332ae38180dbca3f8eba4c046eda267 authored by Thomas Graham on 02 February 2023, 02:05:51 UTC
Replace papa_utils.py
Tip revision: 9467123
settings.toml
######################################
#   list of experimental conditions  #
######################################

# list of experimental conditions

[conditions]

# list each different experimental condition as 'conditions' followed by a period, 
# followed by a unique condition name
# indentation makes this easier to read but is optional

    # basefname input gives the prefix of all file names for that condition
    # file numbers may be specified in one of two ways:
        # 1) by explicitly listing all file numbers in the array "fnum" (e.g., pTG824 below)
        # 2) by providing a range (e.g., pTG800 below) with the first and last file numbers
        # to include, and any files to leave out listed in the array "exclude"
        # Provide only #1 or #2, but not both. If both are provided, the "fnum" input will 
        # be given precedence.
    
    [conditions.pTG824]
    basefname = 'test_data/2comp_'     # base file name of all movies in this condition
    fnum = [0,3]     # list of file numbers to include
    title = 'SNAPf-3xNLS + H2B-Halo-SNAPf (pTG824)' # title to use for plotting

    [conditions.pTG800]
    basefname = 'test_data/pTG800_'    # base file name of all movies
    first = 78                  # first movie file to analyze
    last = 80
    exclude = [80] # files to exclude 
    title = 'Halo-SNAPf-3xNLS + H2B-SNAPf (pTG800)' # title to use for plotting



# file name format
[file_format]

# number of digits in each file name
# For instance, choose ndigits = 3 if file numbers are numbered 
# 000, 001, 002, etc.
ndigits = 3

# file name extension
extension = 'nd2'


######################################
#  parameters for particle tracking  #
######################################

# Image reading and filtering settings
[filter]
    start = 0 
    method = "identity"
    chunk_size = 100

# Spot detection settings
[detect]
    method = "llr"  # llr = log likelihood ratio
    k = 1.0  # width of Gaussian
    w = 9    # window size
    t = 18.0 # threshold (actual threshold, not rescaled arbitrarily)

# Subpixel localization settings
[localize]
    method = 'ls_int_gaussian' # least-squares sub-pixel localization using integrated Gaussian model w/ Gaussian-distributed noise
    window_size = 9
    sigma = 1.0
    ridge = 0.001
    max_iter = 10
    damp = 0.3

# Tracking settings
[track]
    method = 'euclidean'
    pixel_size_um = 0.160 # for most cameras
    frame_interval = 0.00748 # change appropriately
    search_radius = 1 # in microns--maximum permitted between frames
    max_blinks = 0
    min_I0 = 0.0 # minimum PSF intensity for spot detection to start a trajectory
    scale = 7.0  


#######################################
#  parameters for trajectory sorting  #
#######################################

# illumination sequence parameters
[illumination_sequence]
ncycles = 10    # number of cycles of the sequence r-v-r-r-g-r
r = 250         # number of red frames
v = 1           # number of violet frames
g = 1           # number of green frames
framewindow = 30    # number of frames after green/violet pulse to include in PAPA/DR trajectories


#############################################
#  parameters for state array SPT analysis  #
#############################################

[saspt]
focal_depth = 0.7









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