Skip to content
Snippets Groups Projects
Commit e919eb8f authored by Philipp Arras's avatar Philipp Arras
Browse files

str2rad: Support more units

parent 19eb5ff2
No related branches found
No related tags found
1 merge request!39Draft: Clean experiments
...@@ -37,7 +37,9 @@ def str2rad(s): ...@@ -37,7 +37,9 @@ def str2rad(s):
"muas": AS2RAD * 1e-6, "muas": AS2RAD * 1e-6,
"mas": AS2RAD * 1e-3, "mas": AS2RAD * 1e-3,
"as": AS2RAD, "as": AS2RAD,
"arcsec": AS2RAD,
"amin": ARCMIN2RAD, "amin": ARCMIN2RAD,
"arcmin": ARCMIN2RAD,
"deg": DEG2RAD, "deg": DEG2RAD,
"rad": 1, "rad": 1,
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment