View Javadoc
1   package org.djunits.unit;
2   
3   import org.djunits.quantity.Quantity;
4   import org.djunits.unit.scale.IdentityScale;
5   import org.djunits.unit.si.SIPrefixes;
6   import org.djunits.unit.unitsystem.UnitSystem;
7   
8   /**
9    * The units of radio activity (decays per unit of time).
10   * <p>
11   * Copyright (c) 2015-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br>
12   * BSD-style license. See <a href="https://djunits.org/docs/license.html">DJUNITS License</a>.
13   * </p>
14   * version May 15, 2014 <br>
15   * @author <a href="https://www.tudelft.nl/p.knoppers">Peter Knoppers</a>
16   */
17  public class RadioActivityUnit extends Unit<RadioActivityUnit>
18  {
19  
20      /** */
21      private static final long serialVersionUID = 20190830;
22  
23      /** The base, with "/s" as the SI signature. */
24      public static final Quantity<RadioActivityUnit> BASE = new Quantity<>("RadioActivity", "/s");
25  
26      /** The SI unit for radio activity is Becquerel. */
27      public static final RadioActivityUnit SI = new RadioActivityUnit().build(new Unit.Builder<RadioActivityUnit>()
28              .setQuantity(BASE).setId("Bq").setName("becquerel").setUnitSystem(UnitSystem.SI_DERIVED)
29              .setSiPrefixes(SIPrefixes.UNIT_POS, 1.0).setScale(IdentityScale.SCALE));
30  
31      /** Becquerel. */
32      public static final RadioActivityUnit BECQUEREL = SI;
33  
34      /** kBq. */
35      public static final RadioActivityUnit KILOBECQUEREL = BECQUEREL.deriveLinear(1.0E3, "kBq", "kilobequerel");
36  
37      /** MBq. */
38      public static final RadioActivityUnit MEGABECQUEREL = BECQUEREL.deriveLinear(1.0E6, "MBq", "megabequerel");
39  
40      /** GBq. */
41      public static final RadioActivityUnit GIGABECQUEREL = BECQUEREL.deriveLinear(1.0E9, "GBq", "gigabequerel");
42  
43      /** TBq. */
44      public static final RadioActivityUnit TERABECQUEREL = BECQUEREL.deriveLinear(1.0E12, "TBq", "terabequerel");
45  
46      /** PBq. */
47      public static final RadioActivityUnit PETABECQUEREL = BECQUEREL.deriveLinear(1.0E15, "PBq", "petabequerel");
48  
49      /** Curie. */
50      public static final RadioActivityUnit CURIE = BECQUEREL.deriveLinear(3.7E10, "Ci", "curie", UnitSystem.OTHER);
51  
52      /** milliCurie. */
53      public static final RadioActivityUnit MILLICURIE = CURIE.deriveLinear(1.0E-3, "mCi", "millicurie");
54  
55      /** microCurie. */
56      public static final RadioActivityUnit MICROCURIE =
57              CURIE.deriveLinear(1.0E-6, "muCi", "microcurie", UnitSystem.OTHER, "muCi", "muCi", "\u03BCCi");
58  
59      /** nanoCurie. */
60      public static final RadioActivityUnit NANOCURIE = CURIE.deriveLinear(1.0E-9, "nCi", "nanocurie");
61  
62      /** Rutherford. */
63      public static final RadioActivityUnit RUTHERFORD = BECQUEREL.deriveLinear(1.0E6, "Rd", "rutherford", UnitSystem.OTHER);
64  }