Skip to content

Commit

Permalink
Added kgf unit
Browse files Browse the repository at this point in the history
  • Loading branch information
JWock82 committed Feb 14, 2024
1 parent def5f9c commit 8e543c4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ipycalc/calc.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
km = ureg.kilometer
N = ureg.newton
kN = ureg.kilonewton
kgf = ureg.kgf
ton = ureg.metric_ton
tonnef = ureg.force_metric_ton
Pa = ureg.pascal
Expand All @@ -68,7 +69,7 @@

unit_list = ['inch', 'feet', 'ft', 'mi', 'ozf', 'lbf', 'lbm', 'kip', 'plf', 'klf', 'psi', 'psf',
'ksi', 'ksf', 'pcf', 'kcf', 'lbin', 'lbft', 'kipin', 'kipft', 'kin', 'kft', 'mph',
'sec', 'hr', 'deg', 'rad', 'mm', 'cm', 'm', 'km', 'N', 'kN', 'Pa', 'kPa', 'MPa', 'GPa']
'sec', 'hr', 'deg', 'rad', 'mm', 'cm', 'm', 'km', 'N', 'kN', 'kgf', 'Pa', 'kPa', 'MPa', 'GPa']

#%%
@register_cell_magic
Expand Down

0 comments on commit 8e543c4

Please sign in to comment.