sl2pm.track_vessel module#
- sl2pm.track_vessel.mle(x, y, func, p0, n_aver, alpha, sigma, minimize_options=None)[source]#
Fit a line-profile with MLE.
- sl2pm.track_vessel.ols_plasma(profile_plasma, sigma_blur=1.5, thr=0.1)[source]#
Quick-and-dirty vessel wall localization by fitting line-profiles of fluorescence with ordinary least-squares (OLS) optimization. Uses Gaussing blurring (STD=sigma_blur) of the image to reduce noise and thresholding (thr) to find the edges of the vessel.
- sl2pm.track_vessel.ols_wall(profile_wall, sigma_blur=1.5)[source]#
Quick-and-dirty vessel wall localization by fitting line-profiles of fluorescence with ordinary least-squares (OLS) optimization.
- sl2pm.track_vessel.ols_wall_plasma(profile_wall, profile_plasma, sigma_blur=1.5)[source]#
Quick-and-dirty vessel wall localization by fitting line-profiles of fluorescence with ordinary least-squares (OLS) optimization. Uses Gaussing blurring (STD=sigma_blur) of the image to reduce noise and thresholding (thr) to find the edges of the vessel.