-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d1f695a
commit c690dd3
Showing
8 changed files
with
115 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
.. _bead_bead_tutorial: | ||
|
||
Active calibration with two beads far away from the surface | ||
----------------------------------------------------------- | ||
|
||
.. warning:: | ||
|
||
The implementation of the coupling correction models is still alpha functionality. | ||
While usable, this has not yet been tested in a large number of different scenarios. | ||
The API can still be subject to change *without any prior deprecation notice*! | ||
If you use this functionality keep a close eye on the changelog for any changes that may affect your analysis. | ||
|
||
.. image:: figures/coupling_factors.png | ||
:nbattach: | ||
|
||
When performing active calibration with two beads, we get a lower fluid velocity around the beads than we would with a single bead. | ||
This leads to a smaller voltage readout than expected and therefore a higher displacement sensitivity (microns per volt). | ||
Failing to take this into account results in a bias as shown below: | ||
|
||
.. image:: figures/coupling_errors.png | ||
:nbattach: | ||
|
||
Pylake offers a function to calculate a correction factor to account for the lower velocity around the bead. | ||
|
||
.. note:: | ||
|
||
For more information on how these factors are derived, please refer to the :ref:`theory<bead_bead_theory>` section on this topic. | ||
|
||
Appropriate correction factors for oscillation in x can be calculated as follows:: | ||
|
||
factor = lk.coupling_correction_2d(dx=5.0, dy=0, bead_diameter=bead_diameter, is_y_oscillation=False) | ||
|
||
Here `dx` and `dy` represent the horizontal and vertical distance between the beads. | ||
Note that these refer to *center to center distances* (unlike the distance channel in Bluelake, which represents the bead surface to surface distance). | ||
Note that all three parameters have to be specified in the same spatial unit (meters or micron). | ||
The final parameter `is_y_oscillation` indicates whether the stage was oscillated in the y-direction. | ||
|
||
The obtained correction factor can be used to correct the calibration factors:: | ||
|
||
Rd_corrected = factor * calibration["Rd"].value | ||
Rf_corrected = calibration["Rf"].value / factor | ||
stiffness_corrected = calibration["kappa"].value / factor**2 | ||
|
||
To correct a force trace, simply divide it by the correction factor:: | ||
|
||
corrected_force1x = f.force1x / factor | ||
|
||
.. note:: | ||
|
||
This coupling model neglects effects from the surface. It is intended for measurements performed at the center of the flowcell. | ||
|
||
.. note:: | ||
|
||
The model implemented here only supports beads that are aligned in the same plane. | ||
It does not take a mismatch in the `z`-position of the beads into account. | ||
In reality, the position in the focus depends on the bead radius and may be different for the two beads if they slightly differ in size :cite:`alinezhad2018enhancement` (Fig. 3). | ||
At short bead-to-bead distances, such a mismatch would make the coupling less pronounced than the model predicts. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,3 +11,4 @@ Find out about force calibration | |
force_calibration | ||
low_level_api | ||
robust_fitting | ||
coupling |