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/Jammy2211/autofit_workspace
22 July 2023, 18:24:34 UTC
  • Code
  • Branches (3)
  • Releases (3)
  • Visits
    • Branches
    • Releases
    • HEAD
    • refs/heads/feature/docs
    • refs/heads/main
    • refs/heads/release
    • 2023.7.5.3
    • 2023.7.5.2
    • 2023.6.18.3
  • 339c669
  • /
  • config
  • /
  • priors
  • /
  • README.rst
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:9f1fa6f57fe1267a79b1fd683a834caf293cbd0c
origin badgedirectory badge Iframe embedding
swh:1:dir:b790c0544436674c4cf60266ef4d97416f917ea2
origin badgerevision badge
swh:1:rev:ac76dfef4643189a130ce18d23070bb81272a93c
origin badgesnapshot badge
swh:1:snp:68d8768514662ec32ccee243bf05f0f113662503
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: ac76dfef4643189a130ce18d23070bb81272a93c authored by James Nightingale on 09 July 2023, 18:01:37 UTC
scientific workflow doc
Tip revision: ac76dfe
README.rst
The prior config files contain the default priors and related variables for every light profile and mass profile
when it is used as a model.

They appear as follows:

.. code-block:: bash

    Gaussian:
      centre:
        type: Uniform
        lower_limit: 0.0
        upper_limit: 100.0
        width_modifier:
          type: Absolute
          value: 20.0
        gaussian_limits:
          lower: -inf
          upper: inf

The sections of this example config set the following:

    type {Uniform, Gaussian, LogUniform}
        The default prior given to this parameter when used by the non-linear search. In the example above, a
        UniformPrior is used with lower_limit of 0.0 and upper_limit of 4.0. A GaussianPrior could be used by
        putting "Gaussian" in the "type" box, with "mean" and "sigma" used to set the default values. Any prior can be
        set in an analogous fashion (see the example configs).
    width_modifier
        When the results of a search are passed to a subsequent search to set up the priors of its non-linear search,
        this entry describes how the Prior is passed. For a full description of prior passing, checkout the examples
        in 'autolens_workspace/examples/complex/linking'.
    gaussian_limits
        When the results of a search are passed to a subsequent search, they are passed using a GaussianPrior. The
        gaussian_limits set the physical lower and upper limits of this GaussianPrior, such that parameter samples
        can not go beyond these limits.

The files ``template_module.yaml`` and ``TemplateObject.yaml`` give templates one can use to set up prior default
configs for your own model components.

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