Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
DeerLab
Light Logo Dark Logo

User Guide

  • Installation
  • User Guide
    • Basics
    • Getting Started
    • Modeling
    • Fitting
    • Theory
  • Advanced
    • Modeling Guide
    • Fitting Guide
    • Uncertainty Guide
  • Examples
    • Simulating a 4-pulse DEER signal
    • Simulating a 5-pulse DEER signal
    • Simulating a three-pathway 4-pulse DEER signal
    • Basic analysis of a 4-pulse DEER signal
    • Basic analysis of a RIDME signal
    • Analysis of a 4-pulse DEER signal with a compactness penalty
    • Bootstrapped confidence intervals in routine analysis
    • Basic analysis of a 4-pulse DEER signal with a bimodal Gaussian model
    • Basic fitting of a 5-pulse DEER signal
    • Distance restraints from 4-pulse DEER data, non-parametric distribution
    • Validating multi-pathway models based on the data
    • Analysis of a 4-pulse DEER signal with multiple dipolar pathways
    • Analysis of a 6-pulse DQC signal with multiple dipolar pathways
    • Global fitting of multiple 4-pulse DEER signals, non-parametric distribution
    • Analysis of a 5-pulse DEER signal with multiple dipolar pathways
    • Basic analysis of a sparsely sampled 4-pulse DEER signal
    • Comparing the analysis with and without compactness criterion
    • Global fitting of multiple different DEER signals
    • Analyzing data with crossing echoes robustly
    • Analysing the selection of regularisation parameter
    • Simulating polarization effects on low-temperature DEER
    • Identifiability analysis of a 4-pulse DEER signal via the profile analysis method
    • Comparing confidence intervals for regularization results
    • Simulating orientation selection effects in dipolar signals
    • Fitting Gaussians to a non-parametric distance distribution fit
    • Profile analysis in routine analysis
    • Multi-Gaussian analysis of a dipolar signal
    • Global fitting of a two-state model to a series of DEER traces
    • Dipolar pathways model selection
    • Fit a polynomial force field to a dipolar signal
    • Analyzing pseudo-titration (dose-response) curves with non-parametric distributions
    • Global analysis of 5-pulse DEER on a liquid-droplet protein system
  • Models
    • deerlab.ex_3pdeer
    • deerlab.ex_4pdeer
    • deerlab.ex_rev5pdeer
    • deerlab.ex_fwd5pdeer
    • deerlab.ex_sifter
    • deerlab.ex_dqc
    • deerlab.ex_ridme
    • deerlab.dd_gauss
    • deerlab.dd_gauss2
    • deerlab.dd_gauss3
    • deerlab.dd_rice
    • deerlab.dd_rice2
    • deerlab.dd_rice3
    • deerlab.dd_gengauss
    • deerlab.dd_skewgauss
    • deerlab.dd_cos
    • deerlab.dd_wormchain
    • deerlab.dd_wormgauss
    • deerlab.dd_randcoil
    • deerlab.dd_sphere
    • deerlab.dd_spheresurf
    • deerlab.dd_spherepoint
    • deerlab.dd_shell
    • deerlab.dd_shellshell
    • deerlab.dd_shellsphere
    • deerlab.dd_shellvoidshell
    • deerlab.dd_shellvoidsphere
    • deerlab.dd_circle
    • deerlab.dd_triangle
    • deerlab.dd_uniform
    • deerlab.bg_hom3d
    • deerlab.bg_hom3dex
    • deerlab.bg_homfractal
    • deerlab.bg_hom3d_phase
    • deerlab.bg_hom3dex_phase
    • deerlab.bg_homfractal_phase
    • deerlab.bg_exp
    • deerlab.bg_strexp
    • deerlab.bg_sumstrexp
    • deerlab.bg_prodstrexp
    • deerlab.bg_poly1
    • deerlab.bg_poly2
    • deerlab.bg_poly3
  • Reference Index
    • deerlab.Model
    • deerlab.Parameter
    • deerlab.Penalty
    • deerlab.FitResult
    • deerlab.UQResult
    • deerlab.ExperimentInfo
    • deerlab.fit
    • deerlab.merge
    • deerlab.link
    • deerlab.lincombine
    • deerlab.relate
    • deerlab.regoperator
    • deerlab.selregparam
    • deerlab.noiselevel
    • deerlab.whitegaussnoise
    • deerlab.diststats
    • deerlab.correctphase
    • deerlab.bootstrap_analysis
    • deerlab.profile_analysis
    • deerlab.snlls
    • deerlab.fnnls
    • deerlab.cvxnnls
    • deerlab.goodness_of_fit
    • deerlab.dipolarmodel
    • deerlab.dipolarpenalty
    • deerlab.deerload
    • deerlab.dipolarkernel
    • deerlab.dipolarbackground
    • deerlab.fftspec
    • deerlab.distancerange
    • deerlab.store_pickle
    • deerlab.read_pickle
    • deerlab.sophegrid
    • deerlab.choleskycovmat
    • deerlab.hccm
    • deerlab.Jacobian
    • deerlab.nearest_psd
    • deerlab.movmean
    • deerlab.ovl
    • deerlab.der_snr
    • deerlab.formatted_table

About

  • Contributing
  • Release Notes
  • License
  • Publications
  • Funding
  • Github
  • Discussion Board
Back to top

deerlab.link¶

link(model, **links)[source]¶

Link parameters together in a model to create equality relationships between parameters.

Link different sets of parameters to single parameters in a model, such that the values of the linked parameters are all equal to the value of those single parameters. The linked parameters are removed from the model and only the single parameters remain.

Parameters:
modeldeerlab.Model

Model object.

linkskeyword-argument pairs

Keyword-argument pairs, where the arguments must be lists of model parameter names. The corresponding model parameter will be assigned to new parameter whose name is given by the keyword name. For example:

newmodel = link(model,parC = ['parA','parB'])

will return a new model where the values of parA and parB will be given by the new model parameter parC.

Returns:
newmodeldeerlab.Model

New model object without the linked parameter and with the newly defined parameters.

Next
deerlab.lincombine
Previous
deerlab.merge
Copyright © 2019-2023, Luis Fábregas-Ibáñez, Stefan Stoll, Hugo Karas and others
Made with Sphinx and @pradyunsg's Furo
On this page
  • deerlab.link
    • link()