pyLM  v1.1
A Python Problem Solving Environment for the simulation of stochastic biological systems
 All Classes Namespaces Files Functions Variables Pages
Functions
pyLM.units Namespace Reference

Functions

def angstrom
 Length Wrapper Functions #. More...
 
def nm
 Returns a representation of a number in nanometers. More...
 
def micron
 Returns a representation of a number in micrometers. More...
 
def mm
 Returns a representation of a number in millimeter. More...
 
def cm
 Returns a representation of a number in centimeter. More...
 
def ns
 Time Wrapper Functions #. More...
 
def microsecond
 Returns a representation of a number in microsecond. More...
 
def ms
 Returns a representation of a number in millisecond. More...
 
def second
 Returns seconds in seconds. More...
 
def minute
 Returns a representation of a number in minutes. More...
 
def hr
 Returns a representation of a number in hours. More...
 
def day
 Returns a representation of a number in days. More...
 

Function Documentation

def pyLM.units.angstrom (   qty)

Length Wrapper Functions #.

Returns a representation of a number in angstroms

Parameters
qtyA list or singleton of a number
def pyLM.units.cm (   qty)

Returns a representation of a number in centimeter.

Parameters
qtyA list or singleton of a number
def pyLM.units.day (   qty)

Returns a representation of a number in days.

Parameters
qtyA list or singleton of a number
def pyLM.units.hr (   qty)

Returns a representation of a number in hours.

Parameters
qtyA list or singleton of a number
def pyLM.units.micron (   qty)

Returns a representation of a number in micrometers.

Parameters
qtyA list or singleton of a number
def pyLM.units.microsecond (   qty)

Returns a representation of a number in microsecond.

Parameters
qtyA list or singleton of a number
def pyLM.units.minute (   qty)

Returns a representation of a number in minutes.

Parameters
qtyA list or singleton of a number
def pyLM.units.mm (   qty)

Returns a representation of a number in millimeter.

Parameters
qtyA list or singleton of a number
def pyLM.units.ms (   qty)

Returns a representation of a number in millisecond.

Parameters
qtyA list or singleton of a number
def pyLM.units.nm (   qty)

Returns a representation of a number in nanometers.

Parameters
qtyA list or singleton of a number
def pyLM.units.ns (   qty)

Time Wrapper Functions #.

Returns a representation of a number in nanosecond

Parameters
qtyA list or singleton of a number
def pyLM.units.second (   qty)

Returns seconds in seconds.

Seems silly, but for completeness and ability to annotate the unit in code.