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://git.exeter.ac.uk/mv286/kndy-parameter-inference
29 May 2025, 13:18:01 UTC
  • Code
  • Branches (1)
  • Releases (0)
  • Visits
    • Branches
    • Releases
    • HEAD
    • refs/heads/master
    • f5585f5f09d62a2569d21def31dc779774bc2476
    No releases to show
  • bd6fd08
  • /
  • estimation_abcSMC_driverScript.m
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:a3c3b50ee2bf8d8b8a30ac16ff6516fde6dc3a62
origin badgedirectory badge Iframe embedding
swh:1:dir:bd6fd08a3e4a03e2517bb45ec6312ce6e374d84f
origin badgerevision badge
swh:1:rev:f5585f5f09d62a2569d21def31dc779774bc2476
origin badgesnapshot badge
swh:1:snp:4bccc258033b8838a7e52d65dbcfded60dc5092a
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: f5585f5f09d62a2569d21def31dc779774bc2476 authored by mv286 on 15 July 2021, 12:46:14 UTC
Deleting README.md
Tip revision: f5585f5
estimation_abcSMC_driverScript.m
%clear env
clear
%% set up model parameters
params.N = 1; 
params.d1 = 0.25;
params.d2 = 0.25;
params.d3 = 10; 
params.p1 =4;
params.p2 = 320;
params.p3 = 1;
params.maxRate = 30000;
params.p3Basal =  0.08; 
params.p1_basal = 0;
params.p2_basal = 0;
params.KD = 0.3; 
params.KN = 32;
params.Kr1 = 1200;
params.Kr2 = 1200;
params.KI = 2;
params.p3_external = 0;
params.Tmax =500;
params.Dt =0.1;
params.Tspan = 0:params.Dt:params.Tmax;

%% data
data.X = [30 0 0 24] ;

%% set up SMC params
SMCparams.epsilons =  (54:-2:1)'; %set tolerances 
SMCparams.particles = 1000; % set number of particles
SMCparams.Knn = 50; % set number of neighbours for adjusting perturbation kernel
SMCparams.paramN = 9; % set number of parameters to be inferred
SMCparams.minV = [-3 ; -3   ; -3  ; -3; -2  ;  -2  ; -3  ; -3; -5]; %lower bound for inferred parameters
SMCparams.maxV = [ 3 ;  3   ;  3  ;  0;  2  ;   2  ;  3  ;  3;  2]; %upper bound for inferred parameters
SMCparams.Sigma = diag([0.05 0.05 0.05 0.05 0.05 0.05 0.05 0.05 0.05]); % initial perturbation
SMCparams.prefix = 'results'; % string for naming ouput files
SMCparams.modelparams = params; % append model parameters to the SMC parameter structure



%% run ABC SMC
[particles, W] = my_abc_SMC(...
    @model_propoasal, ...
    SMCparams, ...
    @model_driver,...
    @model_distance, ...
    data ) ;


back to top

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