File: reference-units.txt

package info (click to toggle)
brian 1.4.3-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, stretch
  • size: 23,436 kB
  • sloc: python: 68,707; cpp: 29,040; ansic: 5,182; sh: 111; makefile: 61
file content (37 lines) | stat: -rw-r--r-- 798 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
.. currentmodule:: brian

.. index::
	single: units
	single: quantity
	single: dimensions; units

Units system
------------

.. autofunction:: have_same_dimensions
.. autofunction:: is_dimensionless

.. index::
	single: dimensions; inconsistent
	single: units; inconsistent

.. autoexception:: DimensionMismatchError
.. autofunction:: check_units

Typically, you shouldn't need to use any details about the following
two classes, and their implementations are subject to change in
future releases of Brian.

.. autoclass:: Quantity
.. autoclass:: Unit

.. index::
	pair: array; units
	pair: array; quantity

.. removed for Brian 1.0
	You can also work with arrays of quantities.
	
	.. autoclass:: QuantityArray
	.. autoclass:: qarray
	.. autoclass:: safeqarray