File: ExampleFunc_SFCS_1C_2D_Cross-correlation.txt

package info (click to toggle)
pycorrfit 0.8.3-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 2,632 kB
  • ctags: 733
  • sloc: python: 9,403; sh: 29; makefile: 23
file content (32 lines) | stat: -rwxr-xr-x 907 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# 2D SFCS CC
# 2D on component correlation function for perpendiculat SFCS.
# Model function for PyCorrFit.
# http://fcstools.dyndns.org/pycorrfit/
# http://fcstools.dyndns.org/pyscanfcs/
# The detection profile is eliptical, as the focus passes the membrane
# perpendicular to its axis of symmetry.
# The axis ratio / strucure parameter is defined as:
# SP = semi-major-axis / semi-minor-axis (wz/w0)
# This model describes the cross-correlation for two-focus FCS

## Parameters
# Number of particles
Nob = 40.0
# Diffusion time
taudiff [ms] = 1.0
# axis ratio / structural parameter
SP = 5
# Beam waist radius
w0 [100nm] = 2.3
# Distance between the foci
d [100nm] = 5.0

gFirst = 1/sqrt(1+tau/taudiff)
gSecond = 1/sqrt(1+tau/(taudiff*SP**2))

gac = 1/Nob * gFirst * gSecond
# Diffusion coefficient:
gD = w0**2/(4*taudiff)
gcc = exp(-d**2/(w0**2+4*gD*tau))

G = gac*gcc