sl2pm.models module#

sl2pm.models.F_gcx(x_psf, s_xy, l, R_lum, R_wall, s_gcx, n_phi=256)[source]#

Part of the expression for F_plasma.

sl2pm.models.F_lumen(x_psf, s_xy, l, R_lum, n_r=256)[source]#

Part of the expression for L_plasma_no_glx.

sl2pm.models.F_plasma(x_psf, s_xy, l, R_lum, R_wall, s_gcx, n_phi=256, n_r=256)[source]#

Part of the expression for L_plasma and L_wall_plasma.

sl2pm.models.L_multi(x, s_xy, l, dR, s_gcx, b_plasma, b_tissue_wall, b_tissue_plasma, *pars, n_r=128, n_phi=128)[source]#

Expressions for consecutive pairs (in time) of wall and plasma line-scans of fluorescence. Used in Protocol A for tracking capillary walls.

sl2pm.models.L_multi_plasma(x, s_xy, l, b_tissue_plasma, *pars, n_r=128)[source]#

Expressions for consecutive (in time) plasma-scans of fluorescence. Used in Protocol B for tracking capillary walls.

sl2pm.models.L_multi_wall(x, s_xy, l, b_plasma, b_tissue_wall, *pars, n_r=128, n_phi=128)[source]#

Expressions for consecutive (in time) wall-scans of fluorescence. Used in Protocol C for tracking capillary walls.

sl2pm.models.L_plasma(x, xc, s_xy, l, R_lum, R_wall, s_gcx, I, b, n_phi=256, n_r=256)[source]#

Full expression (with glycocalyx) for plasma line-scans of fluorescence. This function is fitted to line-profiles of plasma-fluorescence with MLE to track capillary walls (Protocol A).

sl2pm.models.L_plasma_no_glx(x, xc, s_xy, l, R_lum, I, b, n_r=256)[source]#

Simplified (no glycocalyx) expression for plasma line-scans of fluorescence. This function is fitted to line-profiles of plasma-fluorescence with MLE to track capillary walls (Protocol B).

sl2pm.models.L_wall(x, xc, s_xy, l, R_wall, a1, I, b_plasma, b_tissue, n_r=256, n_phi=256)[source]#

Expression for plasma wall-scans of fluorescence. This function is fitted to line-profiles of wall-fluorescence with MLE to track capillary walls (Protocol C).

sl2pm.models.L_wall_plasma(x, xc, s_xy, l, R_lum, R_wall, s_gcx, a1, Iw, Ip, b_plasma, b_tissue_wall, b_tissue_plasma, n_r=256, n_phi=256)[source]#

Expressions for wall and plasma wall-scans of fluorescence. This function is fitted to line-profiles of wall- and plasma-fluorescence with MLE to track capillary walls (Protocol A).

sl2pm.models.f_wall(x_psf, s_xy, l, R_wall, a1, n_phi=256)[source]#

Part of the expression for L_wall and L_wall_plasma.

sl2pm.models.gaussian(x, sigma)[source]#

Gaussian distribution with zero expected value and STD=sigma.

sl2pm.models.laplace(x, l)[source]#

Laplace distribution.

sl2pm.models.qd_blurred(x, y, b, A, xo, yo, sx, sy, theta)[source]#

2D rotationally-asymmetric Gaussian. This function is fitted to images of nanoparticles with MLE to estimate the nanoparticle’s positions.

sl2pm.models.rbc(x, b, A, s, xo)[source]#

Line fluorescence intensity distribution along a RBC/plasma interface.

sl2pm.models.rbc_inv(x, b, A, s, xo)[source]#

Line fluorescence intensity distribution along a plasma/RBC interface.