Astromodels
Quick start
Builtin Models
Contents:
Functions tutorial
Point sources
Extended source tutorial
Multi-component sources
Model tutorial
Priors for Bayesian analysis
Additional features for scripts and applications
API
Release Notes
Astromodels
»
astromodels.core.thread_safe_unit_format module
Edit on GitHub
astromodels.core.thread_safe_unit_format module
class
astromodels.core.thread_safe_unit_format.
ThreadSafe
(
*
args
,
**
kwargs
)
[source]
Bases:
Base
name
=
'threadsafe'
classmethod
parse
(
s
)
[source]
Convert a string to a unit object.
classmethod
to_string
(
unit
)
[source]
Convert a unit object to a string.
Read the Docs
v: stable
Versions
latest
stable
v2.3.9
v2.3.8
v2.3.7
v2.3.5
v2.3.3
v2.3.2
v2.3.1
v2.2.2
v2.2.1
v2.2.0
v2.1.8
Downloads
On Read the Docs
Project Home
Builds