tools Package

The tools package contains a collection of tools for working with optical tweezers simulations including methods for finding trap locations or calculating/visualising velocity fields.

Todo

tools package

class ott.tools.FindTraps1d

Descriptions and method for finding traps in 1-dimension.

This class contains static methods for finding traps in one dimension. Instances of the class simply describe properties of traps, such as trap location, depth, stiffness.

Units of properties depend on the method that created the FindTraps1d instance (see documentation for static methods).

Properties
  • position – Trap position

  • stiffness – Trap stiffness at equilibrium (force/position units)

  • depth – Optical trap depth (force units)

  • range – Range of optical trap (position units)

  • minforce – Minimum force in trap (force units)

  • maxforce – Maximum force in trap (force units)

  • minposition – Position of minimum force (position units)

  • maxposition – Position of maximum force (position units)

  • globalStiffness – Stiffness between min/max force locations

Methods
  • groupStable – Groups stable traps based on trap depth

  • plot – Generate a plot of the traps in the array

Static methods
  • FromArray – Find traps from an array of force/position data

  • Bisection – Uses bisection method to find trap position

  • Newton – uses Newton’s method to find trap position