Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(14)  |  Call(14)  |  Derive(0)  |  Import(0)

src/s/o/sonde-HEAD/sonde/quantities.py   sonde(Download)
#: Unit of concentration - milligrams per liter
mgl = pq.UnitQuantity('Concentration',
                      pq.CompoundUnit("mg/L"),
                      symbol='mg/L')
 
#: Unit of specific conductivity - milliSiemens per centimeter
mScm = pq.UnitQuantity('Specific Conductivity in MilliSiemens per Centimeter',
                       pq.CompoundUnit("1e-3*S/cm"),
#: Unit of specific conductivity - microSiemens per centimeter
uScm = pq.UnitQuantity('Specific Conductivity',
                       pq.CompoundUnit("1e-6*S/cm"),
                       symbol='uS/cm')
 
ftH2O = pq.ftH2O  # since ftH20 already exists in pq
#: Pressure in dbar
dbar = pq.UnitQuantity('decibar', pq.CompoundUnit('0.1*bar'), symbol='dbar')
#: Pressure in kPa
kPa = pq.pressure.kPa

src/p/y/pyhis-0.1.1-alpha/pyhis/quantities.py   pyhis(Download)
#: Unit of concentration - milligrams per liter
mgl = pq.UnitQuantity('Concentration',
                      pq.CompoundUnit("mg/L"),
                      symbol='mg/L')
 
#: Unit of specific conductivity - milliSiemens per centimeter
mScm = pq.UnitQuantity('Specific Conductivity in MilliSiemens per Centimeter',
                       pq.CompoundUnit("1e-3*S/cm"),
#: Unit of specific conductivity - microSiemens per centimeter
uScm = pq.UnitQuantity('Specific Conductivity',
                       pq.CompoundUnit("1e-6*S/cm"),
                       symbol='uS/cm')
 
ftH2O = pq.ftH2O  # since ftH20 already exists in pq
#: Pressure in dbar
dbar = pq.UnitQuantity('decibar', pq.CompoundUnit('0.1*bar'), symbol='dbar')
 

src/o/p/open-exoplanet-catalogue-python-HEAD/oecpy/astroquantities.py   open-exoplanet-catalogue-python(Download)
 
# Compound Units
gcm3 = pq.CompoundUnit('g /cm**3')
gcm3.latex_symbol = 'g/cm^3'
 
kgm3 = pq.CompoundUnit('kg /m**3')
kgm3.latex_symbol = 'kg/m^3'
 
ms2 = pq.CompoundUnit('m/s**2')

src/i/n/InstrumentKit-HEAD/python/src/instruments/lakeshore/lakeshore475.py   InstrumentKit(Download)
    2: pq.tesla,
    3: pq.oersted,
    4: pq.CompoundUnit('A/m')
}
 

src/s/k/skdb-HEAD/tests/test_units.py   skdb(Download)
        def test_compound_quantities(self):
            m1 = skdb.Unit("m**2/m**3")
            m2 = quantities.CompoundUnit("m**2/m**3")
            self.assertTrue(m1.compatible(m2))
        def test_uncertain_quantities(self):

src/o/p/open-exoplanet-catalogue-python-HEAD/oecpy/tests/test_plots.py   open-exoplanet-catalogue-python(Download)
            planetlist[i].params['radius'] = radius
 
        kmhr = pq.CompoundUnit('km / hr**2')
 
        fig = GeneralPlotter(planetlist)