# SI unit of inductance is henry (H)
inductance_units = [
("henry", 1), # SI derived unit
("millihenry", 0.001),
("microhenry", 1e-6),
("nanohenry", 1e-9),
("abhenry", 1e-9), # CGS unit
("stathenry", 8.9876e11) # CGS unit
]
conductance_units = [
("siemens", 1), # SI base unit
("kilosiemens", 1000),
("millisiemens", 0.001),
("microsiemens", 1e-6),
("nanosiemens", 1e-9),
("picosiemens", 1e-12),
("femtosiemens", 1e-15),
("mho", 1),
("abmho", 1e9),
("statmho", 1.112650056e-12)
]
flux_units = [
("weber", 1), # SI base unit
("kiloweber", 1000),
("milliweber", 0.001),
("microweber", 1e-6),
("nanoweber", 1e-9),
("picoweber", 1e-12),
("femtoweber", 1e-15),
("maxwell", 1e-8),
("unit pole", 1.256637062e-7)
]
# SI unit of electric charge is coulomb (C)
charge_units = [
("coulomb", 1), # SI derived unit
("millicoulomb", 0.001),
("microcoulomb", 1e-6),
("nanocoulomb", 1e-9),
("picocoulomb", 1e-12),
("elementary charge", 1.602176634e-19), # charge of a proton or electron
("faraday", 96485.33212), # charge of a mole of electrons
("ampere-hour", 3600), # charge delivered by a current of one ampere in one hour
]
potential_units = [
("volt", 1), # SI base unit
("kilovolt", 1000),
("millivolt", 0.001),
("microvolt", 1e-6),
("nanovolt", 1e-9),
("picovolt", 1e-12),
("femtovolt", 1e-15),
("abvolt", 1e-8),
("statvolt", 299.792458)
]
density_units = [
("tesla", 1), # SI base unit
("kilotesla", 1000),
("millitesla", 0.001),
("microtesla", 1e-6),
("nanotesla", 1e-9),
("picotesla", 1e-12),
("femtotesla", 1e-15),
("gauss", 1e-4)
]
intensity_units = [
("candela", 1), # SI base unit
("millicandela", 0.001),
("microcandela", 1e-6),
("nanocandela", 1e-9),
("picocandela", 1e-12),
("femtocandela", 1e-15),
("lumen", 1),
("nit", 1)]
illuminance_units = [
("lux", 1), # SI base unit
("kilolux", 1000),
("millilux", 0.001),
("microlux", 1e-6),
("nanolux", 1e-9),
("picolux", 1e-12),
("femtolux", 1e-15),
("phot", 1e4),
("foot-candle", 10.76391)
]
radioactivity_units = [
("becquerel", 1), # SI base unit
("kilobecquerel", 1000),
("megabecquerel", 1e6),
("gigabecquerel", 1e9),
("curie", 3.7e10),
("millicurie", 3.7e7),
("microcurie", 3.7e4),
("picocurie", 3.7e-2),
("rutherford", 1e6)
]
absorbed_dose_units = [
("gray", 1), # SI base unit
("kilogray", 1000),
("milligray", 0.001),
("microgray", 1e-6),
("nanogray", 1e-9),
("picogray", 1e-12),
("rad", 0.01),
("millirad", 1e-5),
("microrad", 1e-8)
]
equivalent_dose_units = [
("sievert", 1), # SI base unit
("kilosievert", 1000),
("millisievert", 0.001),
("microsievert", 1e-6),
("nanosievert", 1e-9),
("picosievert", 1e-12),
("rem", 0.01),
("millirem", 1e-5),
("microrem", 1e-8)
]
catalytic_activity_units = [
("katal", 1), # SI base unit
("kilokatal", 1000),
("millikatal", 0.001),
("microkatal", 1e-6),
("nanokatal", 1e-9),
("picokatal", 1e-12),
("enzyme unit", 16.67e-9),
("milli enzyme unit", 16.67e-12),
("micro enzyme unit", 16.67e-15)
]
با هاش یه اپ ویندوز نوشتم با PyQt6 اگه خواستبن میتونم کد اون رو هم قرار بدم
امیدوارم یراتون مفید باشه