File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ @import "sphinxdoc.css" ;
2+
3+ div .attention p .admonition-title {
4+ color : black;
5+ background-color : # FFF305 ;
6+ }
Original file line number Diff line number Diff line change 9191# must exist either in Sphinx' static/ path, or in one of the custom paths
9292# given in html_static_path.
9393html_theme = 'sphinxdoc'
94+ html_style = 'quantities.css'
9495
9596# Theme options are theme-specific and customize the look and feel of a theme
9697# further. For a list of options available for each theme, see the
Original file line number Diff line number Diff line change 221221When unicode is enabled, strings used to designate units should still
222222conform to valid python expressions.
223223
224- One final note: Quantities is not a package for describing coordinate
225- systems that require a point of reference, like positions on a map or
226- absolute temperature scales. Proper support of coordinate systems
227- would be a fairly large undertaking and is outside the scope of this
228- project.
229-
224+ .. attention::
225+ Quantities is not a package for describing coordinate systems that require a
226+ point of reference, like positions on a map. In particular, Quantities does
227+ not support absolute temperature scales. Instead, temperatures are assumed to
228+ be temperature *differences*. For example:
229+
230+ >>> T = 20 * pq.degC
231+ >>> print T.rescale('K')
232+ 20.0 K
233+
234+ Proper support of coordinate systems would be a fairly large undertaking and
235+ is outside the scope of this project.
236+
230237"""
231238
232239#from __future__ import absolute_import
You can’t perform that action at this time.
0 commit comments