From f4d639242d87b782b29e034f9cd37d7d66ff9d16 Mon Sep 17 00:00:00 2001 From: David Nadlinger Date: Sat, 18 Jun 2022 00:30:47 +0100 Subject: [PATCH] units: Add nW (nanowatts) We found this quite useful/common for laser beams. --- artiq/language/units.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/language/units.py b/artiq/language/units.py index 13f6f1535..569fb964b 100644 --- a/artiq/language/units.py +++ b/artiq/language/units.py @@ -19,4 +19,4 @@ _register_unit("Hz", "m_kMG") _register_unit("dB", "_") _register_unit("V", "um_k") _register_unit("A", "um_") -_register_unit("W", "um_") +_register_unit("W", "num_")