How to use the convert.seconds function in convert

To help you get started, we’ve selected a few convert examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github reinpk / radioactive / radioactive.js View on Github external
'Bi-211' : {
        halflife  : convert.minutes(2.14),
        products  : [
            {
                fraction : 0.99724,
                product  : 'Tl-207'
            },
            {
                fraction : 0.00276,
                product  : 'Po-211'
            }
        ],
        molarMass : convert.atomicMassMolar(211)
    },
    'Po-211' : {
        halflife  : convert.seconds(516) * convert.E(-3),
        product   : 'Pb-207',
        molarMass : convert.atomicMassMolar(211)
    },
    'Tl-207' : {
        halflife  : convert.minutes(4.77),
        product   : 'Pb-207',
        molarMass : convert.atomicMassMolar(207)
    },


    // Fission products

    // strontium-90
    'Sr-90' : {
        halflife  : convert.years(28.8),
        product   : 'Y-90',
github reinpk / radioactive / radioactive.js View on Github external
},
    'Ba-137m' : {
        halflife  : convert.seconds(153),
        product   : 'Ba-137',
        molarMass : convert.atomicMassMolar(136.9058274)
    },


    // light
    'Y-99' : {
        halflife  : convert.seconds(1.470),
        product   : 'Zr-99',
        molarMass : convert.atomicMassMolar(99)
    },
    'Zr-99' : {
        halflife  : convert.seconds(2.1),
        product   : 'Nb-99m',
        molarMass : convert.atomicMassMolar(99)
    },
    'Nb-99m' : {
        halflife  : convert.minutes(2.6),
        product   : 'Nb-99',
        molarMass : convert.atomicMassMolar(99)
    },
    'Nb-99' : {
        halflife  : convert.seconds(15.0),
        product   : 'Mo-99m2',
        molarMass : convert.atomicMassMolar(99)
    },
    'Mo-99m2' : {
        halflife  : convert.seconds(0.76) * convert.E(-3),
        product   : 'Mo-99m1',
github reinpk / radioactive / radioactive.js View on Github external
halflife  : convert.minutes(2.6),
        product   : 'Nb-99',
        molarMass : convert.atomicMassMolar(99)
    },
    'Nb-99' : {
        halflife  : convert.seconds(15.0),
        product   : 'Mo-99m2',
        molarMass : convert.atomicMassMolar(99)
    },
    'Mo-99m2' : {
        halflife  : convert.seconds(0.76) * convert.E(-3),
        product   : 'Mo-99m1',
        molarMass : convert.atomicMassMolar(99)
    },
    'Mo-99m1' : {
        halflife  : convert.seconds(15.5) * convert.E(-3),
        product   : 'Mo-99',
        molarMass : convert.atomicMassMolar(99)
    },
    'Mo-99' : {
        halflife  : convert.days(2.7489),
        product   : 'Tc-99m',
        molarMass : convert.atomicMassMolar(99)
    },
    'Tc-99m' : {
        halflife  : convert.hours(6.0058),
        product   : 'Tc-99',
        molarMass : convert.atomicMassMolar(98.9062547)
    },
    'Tc-99' : {
        halflife  : convert.years(2.11) * convert.E(5),
        product   : 'Ru-99',
github reinpk / radioactive / radioactive.js View on Github external
'Po-215' : {
        halflife  : convert.seconds(1.781) * convert.E(-3),
        products  : [
            {
                fraction : 0.9999977,
                product  : 'Pb-211'
            },
            {
                fraction : 0.0000023,
                product  : 'At-215'
            }
        ],
        molarMass : convert.atomicMassMolar(215)
    },
    'At-215' : {
        halflife  : convert.seconds(0.1) * convert.E(-3),
        product   : 'Bi-211',
        molarMass : convert.atomicMassMolar(215)
    },
    'Pb-211' : {
        halflife  : convert.minutes(36.1),
        product   : 'Bi-211',
        molarMass : convert.atomicMassMolar(211)
    },
    'Bi-211' : {
        halflife  : convert.minutes(2.14),
        products  : [
            {
                fraction : 0.99724,
                product  : 'Tl-207'
            },
            {
github reinpk / radioactive / radioactive.js View on Github external
halflife  : convert.years(1.9116),
        product   : 'Ra-224',
        molarMass : convert.atomicMassMolar(228)
    },
    'Ra-224' : {
        halflife  : convert.days(3.6319),
        product   : 'Rn-220',
        molarMass : convert.atomicMassMolar(224.0202118)
    },
    'Rn-220' : {
        halflife  : convert.seconds(55.6),
        product   : 'Po-216',
        molarMass : convert.atomicMassMolar(220.0113940)
    },
    'Po-216' : {
        halflife  : convert.seconds(0.145),
        product   : 'Pb-212',
        molarMass : convert.atomicMassMolar(216)
    },
    'Pb-212' : {
        halflife  : convert.hours(10.64),
        product   : 'Bi-212',
        molarMass : convert.atomicMassMolar(212)
    },
    'Bi-212' : {
        halflife  : convert.minutes(60.55),
        products  : [
            {
                fraction : 0.6406,
                product  : 'Po-212'
            },
            {
github reinpk / radioactive / radioactive.js View on Github external
'At-219' : {
        halflife  : convert.seconds(56),
        products  : [
            {
                fraction : 0.9700,
                product  : 'Bi-215'
            },
            {
                fraction : 0.0300,
                product  : 'Rn-219'
            }
        ],
        molarMass : convert.atomicMassMolar(219)
    },
    'Rn-219' : {
        halflife  : convert.seconds(3.96),
        product   : 'Po-215',
        molarMass : convert.atomicMassMolar(219)
    },
    'Bi-215' : {
        halflife  : convert.minutes(7.6),
        product   : 'Po-215',
        molarMass : convert.atomicMassMolar(215)
    },
    'Po-215' : {
        halflife  : convert.seconds(1.781) * convert.E(-3),
        products  : [
            {
                fraction : 0.9999977,
                product  : 'Pb-211'
            },
            {
github reinpk / radioactive / radioactive.js View on Github external
halflife  : convert.seconds(1.470),
        product   : 'Zr-99',
        molarMass : convert.atomicMassMolar(99)
    },
    'Zr-99' : {
        halflife  : convert.seconds(2.1),
        product   : 'Nb-99m',
        molarMass : convert.atomicMassMolar(99)
    },
    'Nb-99m' : {
        halflife  : convert.minutes(2.6),
        product   : 'Nb-99',
        molarMass : convert.atomicMassMolar(99)
    },
    'Nb-99' : {
        halflife  : convert.seconds(15.0),
        product   : 'Mo-99m2',
        molarMass : convert.atomicMassMolar(99)
    },
    'Mo-99m2' : {
        halflife  : convert.seconds(0.76) * convert.E(-3),
        product   : 'Mo-99m1',
        molarMass : convert.atomicMassMolar(99)
    },
    'Mo-99m1' : {
        halflife  : convert.seconds(15.5) * convert.E(-3),
        product   : 'Mo-99',
        molarMass : convert.atomicMassMolar(99)
    },
    'Mo-99' : {
        halflife  : convert.days(2.7489),
        product   : 'Tc-99m',
github reinpk / radioactive / radioactive.js View on Github external
'Po-218' : {
        halflife  : convert.minutes(3.10),
        products  : [
            {
                fraction : 0.9998,
                product  : 'Pb-214'
            },
            {
                fraction : 0.0002,
                product  : 'At-218'
            }
        ],
        molarMass : convert.atomicMassMolar(218)
    },
    'At-218' : {
        halflife  : convert.seconds(1.5),
        products  : [
            {
                fraction : 0.9990,
                product  : 'Bi-214'
            },
            {
                fraction : 0.0010,
                product  : 'Rn-218'
            }
        ],
        molarMass : convert.atomicMassMolar(218)
    },
    'Rn-218' : {
        halflife  : convert.seconds(35) * convert.E(-3),
        product   : 'Po-214',
        molarMass : convert.atomicMassMolar(218)
github reinpk / radioactive / radioactive.js View on Github external
halflife  : convert.hours(6.25),
        product   : 'Th-228',
        molarMass : convert.atomicMassMolar(228)
    },
    'Th-228' : {
        halflife  : convert.years(1.9116),
        product   : 'Ra-224',
        molarMass : convert.atomicMassMolar(228)
    },
    'Ra-224' : {
        halflife  : convert.days(3.6319),
        product   : 'Rn-220',
        molarMass : convert.atomicMassMolar(224.0202118)
    },
    'Rn-220' : {
        halflife  : convert.seconds(55.6),
        product   : 'Po-216',
        molarMass : convert.atomicMassMolar(220.0113940)
    },
    'Po-216' : {
        halflife  : convert.seconds(0.145),
        product   : 'Pb-212',
        molarMass : convert.atomicMassMolar(216)
    },
    'Pb-212' : {
        halflife  : convert.hours(10.64),
        product   : 'Bi-212',
        molarMass : convert.atomicMassMolar(212)
    },
    'Bi-212' : {
        halflife  : convert.minutes(60.55),
        products  : [

convert

The smallest & fastest library for really easy, totally type-safe unit conversions in TypeScript & JavaScript

MIT
Latest version published 10 days ago

Package Health Score

80 / 100
Full package analysis