Commit Graph

24 Commits

Author SHA1 Message Date
Chris Ballance 804e69b144 language: add "W" (Watt) to units 2017-03-07 10:03:42 +08:00
David Nadlinger e037d167f4 language: Add "A" (ampere) as well-known unit for arguments
Signed-off-by: David Nadlinger <code@klickverbot.at>
2016-10-13 12:22:01 +08:00
Robert Jördens 2674ed1d2d use __all__ to structure the namespace 2015-07-02 22:02:21 -06:00
Sebastien Bourdeauducq c71fe29792 simplify unit system and use floats by default 2015-06-26 16:34:37 +02:00
Sebastien Bourdeauducq f307897bec units: fix strip_unit 2015-02-27 10:43:03 -07:00
Sebastien Bourdeauducq ee9d616733 language/units: add strip_unit function 2015-02-26 23:31:07 -07:00
Yann Sionneau 1b5944257e units: add support for V (Volt) 2015-02-24 14:15:38 -07:00
Yann Sionneau 9485372277 units: add support for abs() on Quantity 2015-02-24 14:15:23 -07:00
Sebastien Bourdeauducq 61dc177bce units: support direct float conversion 2015-02-16 07:48:05 -07:00
Yann Sionneau 2ad063c377 Lda: sanity checks on attenuation value
- Plus use of dB unit
2015-01-10 00:27:21 +08:00
Sebastien Bourdeauducq a3f981726a units: error checking 2014-11-22 16:56:51 -08:00
Sebastien Bourdeauducq 1a64e92e75 language/units: add mod 2014-10-06 23:26:35 +08:00
Sebastien Bourdeauducq 70fc0f6ce7 language/units: better support for ops on different dimensions 2014-10-05 23:15:25 +08:00
Sebastien Bourdeauducq 6c44fe0a87 language/units: fix printing 2014-10-05 21:35:24 +08:00
Sebastien Bourdeauducq 2a19d7d32b language/units: use only a string to identify units 2014-10-05 21:01:08 +08:00
Sebastien Bourdeauducq 2944592201 Remove microcycle unit
Introducing it complicates things and has no advantage with good rational arithmetic support.
2014-10-05 17:54:22 +08:00
Sebastien Bourdeauducq d3e70ec53d language/units: cleanup and add docstrings 2014-09-29 23:41:37 +08:00
Sebastien Bourdeauducq 4915b4b5aa PEP8 2014-09-05 12:03:22 +08:00
Sebastien Bourdeauducq 331dbc971b language/units: add microcycle unit for core time 2014-08-18 22:52:54 +08:00
Sebastien Bourdeauducq 232092166e units: support division by quantities in the same unit 2014-08-16 10:27:44 +08:00
Sebastien Bourdeauducq a2691ab07a language/units: do not quantize 2014-08-13 17:52:01 +08:00
Sebastien Bourdeauducq 8cc9c9eed6 units: remove duplicate method 2014-06-10 15:16:45 +02:00
Sebastien Bourdeauducq 732412e4c9 units: implement operators 2014-05-30 19:00:33 +02:00
Sebastien Bourdeauducq 18ef03c545 Refactor, introduce experiment class, kernel decorator, parameters and channel objects 2014-05-28 22:42:01 +02:00