diff --git a/_sources/numpy_guide.rst.txt b/_sources/numpy_guide.rst.txt index 2483cb95..f350765f 100644 --- a/_sources/numpy_guide.rst.txt +++ b/_sources/numpy_guide.rst.txt @@ -184,14 +184,13 @@ Arrays of numbers with uncertainties can be directly :ref:`pickled `, saved to file and read from a file. Pickling has the advantage of preserving correlations between errors. -Storing instead arrays in **text format** loses correlations between -errors but has the advantage of being both computer- and -human-readable. This can be done through NumPy's :func:`savetxt` and -:func:`loadtxt`. +Storing arrays in **text format** loses correlations between errors but has the +advantage of being both computer- and human-readable. This can be done through +NumPy's :func:`savetxt` and :func:`loadtxt`. Writing the array to file can be done by asking NumPy to use the -*representation* of numbers with uncertainties (instead of the default -float conversion): +*representation* of numbers with uncertainties (instead of the default float +conversion): >>> numpy.savetxt('arr.txt', arr, fmt='%r') @@ -201,27 +200,18 @@ the array:: 1.0+/-0.01 2.0+/-0.002 -The file can then be read back by instructing NumPy to convert all the -columns with :func:`uncertainties.ufloat_fromstr`. The number -:data:`num_cols` of columns in the input file (1, in our example) must -be determined in advance, because NumPy requires a converter for each -column separately. For Python 2: - ->>> converters = dict.fromkeys(range(num_cols), uncertainties.ufloat_fromstr) - -For Python 3, since :func:`numpy.loadtxt` passes bytes to converters, -they must first be converted into a string: - ->>> converters = dict.fromkeys( - range(num_cols), - lambda col_bytes: uncertainties.ufloat_fromstr(col_bytes.decode("latin1"))) - -(Latin 1 appears to in fact be the encoding used in -:func:`numpy.savetxt` [as of NumPy 1.12]. This encoding seems -to be the one hardcoded in :func:`numpy.compat.asbytes`.) - -The array can then be loaded: - +The file can then be read back by instructing NumPy with :meth:`numpy.loadtxt`, +but for object arrays, this requires a converter function for each column +separately. We can use func:`uncertainties.ufloat_fromstr`, but +:meth:`numpy.loadtxt` passes bytes to converters, they must first be converted +into a string. In addition the number of maximum number of columns must be +known. An example of using all of this to unpack the data saved with +:meth:`numpy.savetxt` would be: + +>>> from uncertainties import ufloat_fromstr +>>> max_cols = 1 +>>> converters = {col: lambda dat: ufloat_fromstr(dat.decode("utf-8")) +.... for col in range(max_cols)} >>> arr = numpy.loadtxt('arr.txt', converters=converters, dtype=object) .. index:: linear algebra; additional functions, ulinalg diff --git a/numpy_guide.html b/numpy_guide.html index 987e39b4..d5b85ab3 100644 --- a/numpy_guide.html +++ b/numpy_guide.html @@ -310,13 +310,12 @@

Creation and manipulation of arrays and matrices

Storing arrays in text format

Arrays of numbers with uncertainties can be directly pickled, saved to file and read from a file. Pickling has the advantage of preserving correlations between errors.

-

Storing instead arrays in text format loses correlations between -errors but has the advantage of being both computer- and -human-readable. This can be done through NumPy’s savetxt() and -loadtxt().

+

Storing arrays in text format loses correlations between errors but has the +advantage of being both computer- and human-readable. This can be done through +NumPy’s savetxt() and loadtxt().

Writing the array to file can be done by asking NumPy to use the -representation of numbers with uncertainties (instead of the default -float conversion):

+representation of numbers with uncertainties (instead of the default float +conversion):

>>> numpy.savetxt('arr.txt', arr, fmt='%r')
 
@@ -326,26 +325,18 @@

Creation and manipulation of arrays and matrices2.0+/-0.002 -

The file can then be read back by instructing NumPy to convert all the -columns with uncertainties.ufloat_fromstr(). The number -num_cols of columns in the input file (1, in our example) must -be determined in advance, because NumPy requires a converter for each -column separately. For Python 2:

-
>>> converters = dict.fromkeys(range(num_cols), uncertainties.ufloat_fromstr)
-
-
-

For Python 3, since numpy.loadtxt() passes bytes to converters, -they must first be converted into a string:

-
>>> converters = dict.fromkeys(
-        range(num_cols),
-        lambda col_bytes: uncertainties.ufloat_fromstr(col_bytes.decode("latin1")))
-
-
-

(Latin 1 appears to in fact be the encoding used in -numpy.savetxt() [as of NumPy 1.12]. This encoding seems -to be the one hardcoded in numpy.compat.asbytes().)

-

The array can then be loaded:

-
>>> arr = numpy.loadtxt('arr.txt', converters=converters, dtype=object)
+

The file can then be read back by instructing NumPy with numpy.loadtxt(), +but for object arrays, this requires a converter function for each column +separately. We can use func:uncertainties.ufloat_fromstr, but +numpy.loadtxt() passes bytes to converters, they must first be converted +into a string. In addition the number of maximum number of columns must be +known. An example of using all of this to unpack the data saved with +numpy.savetxt() would be:

+
>>> from uncertainties import ufloat_fromstr
+>>> max_cols = 1
+>>> converters = {col: lambda dat: ufloat_fromstr(dat.decode("utf-8"))
+....                              for col in range(max_cols)}
+>>> arr = numpy.loadtxt('arr.txt', converters=converters, dtype=object)
 
diff --git a/searchindex.js b/searchindex.js index 44ddc331..31f4a1ef 100644 --- a/searchindex.js +++ b/searchindex.js @@ -1 +1 @@ -Search.setIndex({"docnames": ["formatting", "index", "install", "numpy_guide", "tech_guide", "user_guide"], "filenames": ["formatting.rst", "index.rst", "install.rst", "numpy_guide.rst", "tech_guide.rst", "user_guide.rst"], "titles": ["Formatting Variables with uncertainties", "Uncertainties", "Installation and Credits", "Uncertainties and numpy arrays", "Advanced Topics", "User Guide"], "terms": {"number": [0, 1, 2, 3], "can": [0, 1, 2, 3, 4, 5], "conveni": [0, 5], "x": [0, 1, 2, 4, 5], "0": [0, 1, 3, 4, 5], "200": 0, "010": 0, "The": [0, 1, 2, 4, 5], "result": [0, 1, 4, 5], "form": [0, 4, 5], "gener": [0, 2, 3, 4, 5], "pars": 0, "back": [0, 3], "ufloat_fromstr": [0, 3, 4, 5], "except": [0, 4, 5], "nomin": [0, 4, 5], "valu": [0, 1, 4, 5], "alwai": [0, 4, 5], "have": [0, 1, 2, 3, 4, 5], "same": [0, 4, 5], "thi": [0, 1, 3, 4, 5], "make": [0, 1, 3, 4], "easier": 0, "compar": [0, 4, 5], "them": [0, 4, 5], "more": [0, 2, 3, 4, 5], "over": [0, 4], "obtain": [0, 3, 4, 5], "python": [0, 1, 2, 3, 5], "2": [0, 1, 3, 4, 5], "6": [0, 1], "through": [0, 3, 4, 5], "usual": [0, 3, 4], "method": [0, 5], "string": [0, 3, 4, 5], "10": [0, 3, 4, 5], "2f": 0, "20": [0, 1, 5], "01": [0, 1, 3, 4, 5], "all": [0, 2, 3, 4, 5], "float": [0, 3, 4, 5], "specif": [0, 4], "ar": [0, 1, 2, 3, 4, 5], "accept": [0, 1, 4], "those": [0, 3, 5], "n": [0, 5], "type": [0, 4, 5], "In": [0, 3, 4, 5], "particular": [0, 3], "fill": 0, "charact": 0, "an": [0, 1, 2, 3, 5], "align": 0, "sign": 0, "zero": [0, 4, 5], "width": 0, "support": [0, 2, 3, 4], "retain": 0, "origin": [0, 4, 5], "mean": [0, 3, 4, 5], "e": [0, 3, 4, 5], "g": [0, 2, 5], "2e": 0, "us": [0, 1, 2, 3, 4], "two": [0, 3, 4, 5], "digit": [0, 4, 5], "after": [0, 4], "decim": 0, "point": 0, "code": [0, 1, 4, 5], "work": [0, 2, 3, 4, 5], "produc": [0, 3], "similar": [0, 2, 3], "when": [0, 2, 3, 4, 5], "run": [0, 2, 4], "It": [0, 3, 5], "i": [0, 1, 2, 3, 5], "possibl": [0, 3, 4, 5], "signific": [0, 4], "ad": [0, 2, 5], "modifi": [0, 4, 5], "u": [0, 5], "befor": 0, "ani": [0, 1, 4, 5], "valid": 0, "like": [0, 1, 2, 3, 4, 5], "f": [0, 4, 5], "empti": 0, "etc": [0, 3, 4], "1": [0, 1, 3, 4, 5], "1u": 0, "3": [0, 1, 2, 3, 4, 5], "3u": 0, "2000": 0, "0100": 0, "expon": [0, 5], "notat": [0, 5], "1ue": 0, "percentag": 0, "must": [0, 3, 4, 5], "choos": 0, "particl": 0, "data": 0, "group": 0, "round": [0, 5], "rule": [0, 4], "keep": [0, 2, 4, 5], "small": [0, 4, 5], "which": [0, 2, 3, 4, 5], "read": [0, 3, 4], "time": [0, 4, 5], "prevent": 0, "from": [0, 1, 2, 3, 4, 5], "being": [0, 3, 4, 5], "displai": 0, "too": [0, 3, 5], "few": [0, 4], "automat": [0, 1, 4], "provid": [0, 2, 3, 4, 5], "even": [0, 3, 4], "flexibl": 0, "thei": [0, 3, 4], "end": 0, "p": [0, 4], "00": [0, 1, 3, 4, 5], "2ep": 0, "\u00b9": 0, "mode": 0, "thu": [0, 3, 4, 5], "superscript": 0, "": [0, 3, 4, 5], "shorthand": 0, "parenthes": 0, "repres": [0, 4], "last": [0, 5], "l": 0, "1e7": 0, "06": 0, "left": 0, "pm": 0, "right": 0, "requir": [0, 2, 3, 4, 5], "around": [0, 4], "part": 0, "without": [0, 3], "enclos": 0, "trail": 0, "instanc": [0, 3, 4, 5], "so": [0, 2, 3, 4, 5], "explicitli": 0, "factor": [0, 5], "physic": 0, "unit": 0, "kg": 0, "add": [0, 5], "No": 0, "These": [0, 3, 4, 5], "combin": [0, 5], "meaning": [0, 4], "A": [0, 2, 4], "common": [0, 1, 3, 4], "calcul": [0, 1, 2, 3, 4, 5], "need": [0, 5], "larger": [0, 4], "absolut": 0, "increas": 0, "legibl": 0, "1e": 0, "0e": 0, "11": 0, "minim": 0, "wai": [0, 3, 4], "forc": 0, "thank": [0, 2, 3, 5], "featur": [0, 3], "each": [0, 3, 4, 5], "deviat": [0, 4, 5], "correctli": [0, 4], "across": 0, "multipl": [0, 3, 4, 5], "line": 0, "while": [0, 3, 4, 5], "rel": 0, "magnitud": 0, "error": [0, 1, 3, 4, 5], "still": [0, 2, 4], "readili": 0, "estim": [0, 4], "exactli": [0, 4, 5], "integ": [0, 4], "ufloat": [0, 1, 3, 4, 5], "1415": 0, "1415e10": 0, "0005": 0, "14": [0, 1, 4], "001": 0, "given": [0, 5], "its": [0, 4, 5], "represent": [0, 3, 4, 5], "y": [0, 1, 2, 4, 5], "23456789012345": 0, "123456789": 0, "23": [0, 4], "12": [0, 3, 4, 5], "repr": 0, "sometim": [0, 4, 5], "consist": [0, 4], "program": [0, 1, 2, 5], "formatt": 0, "class": [0, 3], "allow": [0, 2, 4, 5], "one": [0, 2, 3, 4, 5], "do": [0, 1, 3, 4, 5], "just": [0, 3], "here": [0, 1, 5], "how": [0, 1], "shorthandformatt": 0, "def": 0, "format_field": 0, "self": 0, "format_spec": 0, "isinst": [0, 4], "return": [0, 3, 5], "special": [0, 1, 5], "other": [0, 1, 2, 4, 5], "els": 0, "super": 0, "frmtr": 0, "themselv": [0, 5], "For": [0, 1, 2, 3, 4, 5], "exampl": [0, 3, 5], "center": 0, "dot": 0, "instead": [0, 3, 4, 5], "default": [0, 3], "symbol": [0, 4], "easili": [0, 5], "done": [0, 1, 3, 5], "set": 0, "core": 0, "mult_symbol": 0, "beyond": [0, 4], "also": [0, 1, 2, 3, 4, 5], "found": [0, 5], "document": [0, 1, 3, 4], "format_num": 0, "error propag": 1, "error calcul": 1, "librari": 1, "packag": [1, 4, 5], "open": 1, "sourc": 1, "mani": [1, 2, 3, 4, 5], "scientif": [1, 2], "field": 1, "propag": [1, 5], "mathemat": 1, "take": [1, 4, 5], "pain": 1, "complex": [1, 5], "out": [1, 3, 5], "quick": 1, "tast": 1, "import": [1, 3, 4, 5], "print": [1, 3, 4, 5], "4": [1, 3, 4, 5], "5": [1, 3, 4, 5], "22": 1, "linear": [1, 5], "theori": [1, 4, 5], "deriv": [1, 4], "analyt": [1, 4, 5], "correl": [1, 3, 4], "between": [1, 3, 4, 5], "variabl": 1, "handl": [1, 4], "yield": [1, 4, 5], "express": [1, 4, 5], "respect": [1, 4, 5], "uncertain": [1, 4], "approach": [1, 5], "see": [1, 4, 5], "soerp": [1, 4], "higher": [1, 2, 4], "order": [1, 4, 5], "term": [1, 4, 5], "mcerp": [1, 4], "mont": [1, 2, 4], "carlo": [1, 4], "licens": 1, "under": [1, 2], "revis": [1, 2], "bsd": [1, 2], "cc": 1, "sa": 1, "instal": 1, "credit": 1, "download": 1, "develop": 1, "version": [1, 4, 5], "get": [1, 5], "help": [1, 3], "cite": 1, "acknowledg": 1, "user": [1, 2, 4], "guid": [1, 4], "basic": [1, 3], "usag": 1, "creat": [1, 3, 4], "math": [1, 3, 4], "oper": 1, "comparison": 1, "nan": 1, "infin": 1, "access": [1, 3], "individu": 1, "covari": 1, "matric": 1, "custom": 1, "function": 1, "miscellan": 1, "util": [1, 2, 3], "addit": [1, 4], "inform": 1, "numpi": [1, 2, 4, 5], "arrai": [1, 2, 4, 5], "unumpi": 1, "store": [1, 4], "text": 1, "format": [1, 4, 5], "ulinalg": 1, "advanc": [1, 3, 5], "topic": [1, 5], "api": [1, 5], "applic": [1, 5], "interfac": [1, 5], "technic": [1, 2, 5], "uncertainti": 2, "8": [2, 5], "earlier": 2, "test": [2, 5], "mai": 2, "current": [2, 3], "13": 2, "regularli": 2, "To": [2, 4, 5], "pip": 2, "you": [2, 5], "upgrad": 2, "older": 2, "system": 2, "anaconda": 2, "macport": 2, "linux": 2, "manag": 2, "maintain": 2, "abl": [2, 5], "someth": 2, "conda": 2, "c": [2, 5], "forg": 2, "sudo": 2, "port": 2, "py": 2, "apt": 2, "depend": [2, 4, 5], "your": 2, "platform": 2, "should": [2, 3, 4, 5], "therefor": [2, 4], "recommend": [2, 4], "latest": 2, "archiv": 2, "index": 2, "pypi": 2, "unpack": 2, "github": 2, "releas": 2, "page": [2, 4], "unzip": 2, "tar": 2, "xf": 2, "m": 2, "git": 2, "fork": 2, "clone": 2, "com": 2, "lmfit": 2, "written": [2, 5], "pure": [2, 3, 4], "ha": [2, 3, 4, 5], "extern": [2, 5], "If": [2, 4, 5], "avail": [2, 3, 4, 5], "suit": 2, "pytest": 2, "pytest_cov": 2, "build": 2, "doc": 2, "sphinx": 2, "option": [2, 4, 5], "enabl": 2, "question": 2, "about": [2, 4, 5], "troubl": 2, "discuss": [2, 5], "bug": 2, "report": 2, "issu": 2, "wa": 2, "eric": 2, "o": 2, "lebigot": 2, "eol": 2, "until": 2, "2024": 2, "project": 2, "move": 2, "organ": [2, 4], "sustain": 2, "mainten": 2, "member": 2, "devlop": 2, "team": 2, "includ": [2, 3, 4, 5], "andrew": 2, "savag": 2, "justin": 2, "gerber": 2, "legibot": 2, "matt": 2, "newvil": 2, "Will": 2, "shank": 2, "contribut": [2, 4, 5], "suggest": 2, "welcom": 2, "public": 2, "pleas": 2, "peopl": 2, "who": 2, "made": [2, 3, 4], "donat": 2, "aliv": 2, "posit": [2, 4], "feedback": 2, "greatli": 2, "appreci": 2, "gotten": 2, "kei": 2, "input": [2, 3, 4], "arnaud": 2, "delobel": 2, "pierr": 2, "clad\u00e9": 2, "sebastian": 2, "walter": 2, "patch": 2, "tim": 2, "head": 2, "jos\u00e9": 2, "sabat": 2, "martijn": 2, "pieter": 2, "ram": 2, "rachum": 2, "christoph": 2, "deil": 2, "gabi": 2, "davar": 2, "roman": 2, "yurchak": 2, "paul": 2, "romano": 2, "gratefulli": 2, "improv": 2, "joaquin": 2, "abian": 2, "jason": 2, "moor": 2, "martin": 2, "lutz": 2, "v\u00edctor": 2, "terr\u00f3n": 2, "matthew": 2, "peel": 2, "don": 2, "peterson": 2, "mika": 2, "pflueger": 2, "albert": 2, "puig": 2, "abraham": 2, "lee": 2, "arian": 2, "sanusi": 2, "laloux": 2, "jonathan": 2, "whitmor": 2, "federico": 2, "vaggi": 2, "marco": 2, "ferra": 2, "hernan": 2, "grecco": 2, "david": 2, "zwicker": 2, "jame": 2, "hester": 2, "nelson": 2, "grate": 2, "maco": 2, "distribut": [2, 4, 5], "stickel": 2, "paleino": 2, "ceratto": 2, "roberto": 2, "colistet": 2, "jr": 2, "filip": 2, "pire": 2, "alvarenga": 2, "fernand": 2, "felix": 2, "yan": 2, "raybaut": 2, "gohlk": 2, "hi": 2, "base": [2, 5], "window": 2, "softwar": 2, "2010": 2, "put": [3, 4], "arr": 3, "02": [3, 5], "sum": [3, 5], "perform": [3, 4, 5], "transpar": [3, 4, 5], "contain": [3, 4, 5], "cosin": 3, "built": 3, "uarrai": 3, "002": 3, "directli": [3, 5], "arbitrari": 3, "object": [3, 5], "best": 3, "first": 3, "mat": 3, "umatrix": 3, "convert": 3, "matrix": 3, "behav": [3, 4], "better": 3, "some": [3, 5], "invers": 3, "regular": [3, 4], "cannot": [3, 4, 5], "invert": 3, "doe": [3, 4, 5], "why": 3, "both": [3, 4, 5], "pseudo": 3, "nominal_valu": [3, 4, 5], "std_dev": [3, 4, 5], "modul": [3, 4, 5], "defin": [3, 4, 5], "umath": [3, 4, 5], "scalar": [3, 4], "co": [3, 4, 5], "element": 3, "name": 3, "arcco": 3, "aco": [3, 5], "definit": 3, "quantiti": [3, 4, 5], "One": 3, "pertain": 3, "isnan": [3, 5], "true": [3, 4, 5], "fals": [3, 4, 5], "otherwis": 3, "sinc": [3, 4, 5], "nanmean": 3, "skip": 3, "where": [3, 4], "mask": 3, "dtype": 3, "equival": [3, 4], "masked_arr": 3, "ma": 3, "case": [3, 4, 5], "becaus": [3, 4, 5], "undefin": [3, 4], "final": [3, 4, 5], "averag": [3, 4], "well": [3, 4, 5], "non": [3, 4, 5], "pickl": 3, "save": 3, "file": [3, 4], "advantag": 3, "preserv": [3, 4], "lose": 3, "comput": 3, "human": 3, "readabl": 3, "savetxt": 3, "loadtxt": 3, "write": 3, "ask": 3, "convers": 3, "txt": 3, "fmt": 3, "r": 3, "instruct": 3, "column": [3, 5], "num_col": 3, "our": 3, "determin": 3, "separ": 3, "dict": [3, 4], "fromkei": 3, "rang": 3, "pass": 3, "byte": 3, "lambda": 3, "col_byt": 3, "decod": 3, "latin1": 3, "latin": 3, "appear": [3, 5], "fact": [3, 4, 5], "encod": 3, "seem": 3, "hardcod": 3, "compat": 3, "asbyt": 3, "load": [3, 4], "offer": 3, "linalg": 3, "inv": 3, "025": 3, "pinv": 3, "0012419339757": 3, "00161789987329": 3, "give": [4, 5], "depth": 4, "descript": 4, "most": [4, 5], "wrap": [4, 5], "suppli": 4, "none": 4, "tag": [4, 5], "standard": [4, 5], "trace": 4, "b": [4, 5], "1000": 4, "30": 4, "kilo": 4, "typic": 4, "interpret": [4, 5], "central": [4, 5], "sigma": [4, 5], "level": 4, "attribut": [4, 5], "match": 4, "sever": 4, "invalid": 4, "rais": [4, 5], "valueerror": 4, "std": 4, "least": 4, "That": [4, 5], "25": [4, 5], "03": 4, "ufloat_fromsstr": 4, "58": 4, "85e5": 4, "3e4": 4, "8e5": 4, "38": 4, "e4": 4, "72": 4, "15": 4, "04": 4, "680": 4, "41": 4, "68": 4, "041": 4, "29": 4, "independ": [4, 5], "affinescalarfunc": 4, "derivatives_arg": 4, "derivatives_kwarg": 4, "drop": 4, "replac": [4, 5], "list": [4, 5], "iter": 4, "tupleof": 4, "functionss": 4, "dictionari": 4, "keyword": 4, "partial": 4, "correspond": 4, "paramet": [4, 5], "signatur": 4, "derivative_arg": 4, "hold": 4, "derivit": 4, "vararg": 4, "derivative_kwarg": 4, "kwarg": 4, "entri": 4, "isa": 4, "numer": [4, 5], "ignor": 4, "meaningless": 4, "funcion": 4, "sin": [4, 5], "could": 4, "usin_a": 4, "usin_b": 4, "usin_c": 4, "builtin": 4, "usin_2": 4, "carri": 4, "check": [4, 5], "togeth": 4, "dump": 4, "x2": 4, "y2": 4, "unpickl": 4, "new": [4, 5], "complet": [4, 5], "howev": 4, "necessarili": 4, "bear": 4, "relationship": 4, "anoth": 4, "did": 4, "finish": 4, "disappear": 4, "14142135623730953": 4, "show": [4, 5], "uncorrel": [4, 5], "pragmat": 4, "semant": 4, "wherev": 4, "ident": [4, 5], "would": 4, "onli": [4, 5], "boolean": 4, "bool": 4, "probabl": 4, "essenti": 4, "infinitesim": 4, "variat": 4, "possibli": 4, "infinit": [4, 5], "sampl": [4, 5], "equal": 4, "itself": [4, 5], "almost": 4, "differ": [4, 5], "z": 4, "t": [4, 5], "similarli": [4, 5], "suppos": 4, "larg": 4, "interv": 4, "than": [4, 5], "natur": 4, "consid": [4, 5], "practic": 4, "purpos": 4, "subject": 4, "constraint": 4, "approxim": 4, "constant": 4, "region": 4, "highest": 4, "real": 4, "follow": [4, 5], "whose": 4, "overlap": 4, "0001": 4, "continu": 4, "concentr": 4, "violat": 4, "assumpt": 4, "involv": [4, 5], "unambigu": 4, "0002": 4, "guarante": 4, "satisfi": 4, "though": 4, "inde": [4, 5], "long": [4, 5], "precis": 4, "expans": 4, "largest": 4, "much": 4, "remain": [4, 5], "neglect": 4, "perfect": 4, "atan": [4, 5], "tan": [4, 5], "count": 4, "intermedi": 4, "sine": 4, "quit": 4, "parabol": 4, "might": [4, 5], "enough": 4, "necessari": [4, 5], "second": 4, "fast": [4, 5], "principl": 4, "veri": [4, 5], "slower": 4, "scheme": 4, "appli": [4, 5], "intern": 4, "As": [4, 5], "consequ": 4, "sqrt": [4, 5], "indic": [4, 5], "adapt": 4, "perfectli": 4, "correct": [4, 5], "despit": [4, 5], "squar": [4, 5], "root": [4, 5], "restrict": 4, "normal": [4, 5], "gaussian": 4, "reduc": 4, "simpli": [4, 5], "underli": 4, "manipul": [4, 5], "assum": 4, "mostli": 4, "size": 4, "cover": 4, "good": 4, "choic": 4, "median": 4, "locat": 4, "impli": 4, "properti": 4, "insid": [4, 5], "high": 4, "densiti": 4, "symmetr": 4, "rare": 4, "strictli": 4, "fundament": 4, "formula": 4, "umath_cor": 4, "num_deriv_func": 4, "evalu": 4, "implement": [4, 5], "revers": 4, "accumul": 4, "chain": 4, "faster": 4, "simpl": [4, 5], "demonstr": 4, "42": 4, "poli": 4, "46": 4, "abov": [4, 5], "123": 4, "hand": [4, 5], "updat": [4, 5], "fly": [4, 5], "now": 4, "redefin": 4, "chang": [4, 5], "previous": 4, "10000": 4, "unchang": 4, "mechan": 4, "fulli": 4, "inherit": 4, "alias": 4, "docstr": 4, "factori": [4, 5], "were": 4, "summat": 4, "7": 5, "sub": 5, "y_variabl": 5, "fairli": 5, "abbrevi": 5, "short": 5, "pretti": 5, "detail": 5, "ufloat_from_str": 5, "doubl": 5, "040": 5, "004": 5, "quadratur": 5, "32": 5, "we": 5, "multipli": 5, "properli": 5, "240": 5, "76": 5, "83749084919418": 5, "But": 5, "note": 5, "scale": 5, "40": 5, "70": 5, "understand": 5, "know": 5, "known": 5, "7071067811865476": 5, "singl": 5, "reflect": 5, "besid": 5, "exp": 5, "19866933079506122": 5, "009800665778412416": 5, "03998933418663417": 5, "003996800426643912": 5, "9355069850316178": 5, "003118356616772059": 5, "230": 5, "16428571428571428": 5, "acosh": 5, "asin": 5, "asinh": 5, "atan2": 5, "atanh": 5, "ceil": 5, "copysign": 5, "cosh": 5, "degre": 5, "erf": 5, "erfc": 5, "expm1": 5, "fab": 5, "floor": 5, "fmod": 5, "frexp": 5, "fsum": 5, "gamma": 5, "hypot": 5, "isinf": 5, "ldexp": 5, "lgamma": 5, "log": 5, "log10": 5, "log1p": 5, "modf": 5, "pow": 5, "radian": 5, "sinh": 5, "tanh": 5, "trunc": 5, "somewhat": 5, "complic": 5, "attent": 5, "hint": 5, "explor": 5, "below": 5, "relat": 5, "although": 5, "whether": 5, "concept": 5, "bit": 5, "greater": 5, "24": 5, "less": 5, "lead": 5, "mayb": 5, "surpris": 5, "neither": 5, "nor": 5, "either": 5, "care": 5, "exercis": 5, "typeerror": 5, "inf": 5, "nupmi": 5, "whatev": 5, "random": 5, "step": 5, "variou": 5, "account": 5, "error_compon": 5, "map": 5, "total": 5, "accord": 5, "usabl": 5, "v": 5, "sum_valu": 5, "21": 5, "223606797749979": 5, "var": 5, "item": 5, "varianc": 5, "quadrat": 5, "distinct": 5, "systemat": 5, "syst_error": 5, "other_error": 5, "cov_matrix": 5, "covariance_matrix": 5, "05": 5, "track": 5, "corr_matrix": 5, "correlation_matrix": 5, "4472136": 5, "89442719": 5, "reciproc": 5, "u2": 5, "v2": 5, "sum2": 5, "correlated_valu": 5, "three": 5, "83371856862256e": 5, "09": 5, "theoret": 5, "3e": 5, "9": 5, "cancel": 5, "desir": 5, "reproduc": 5, "up": 5, "altern": 5, "sequenc": 5, "ones": 5, "diagon": 5, "u3": 5, "v3": 5, "sum3": 5, "correlated_values_norm": 5, "22360679774997899": 5, "recov": 5, "meant": 5, "anywai": 5, "call": 5, "control": 5, "fortran": 5, "argument": 5, "wrapped_f": 5, "place": 5, "With": 5, "certain": 5, "studi": 5, "impact": 5, "prev_uncert": 5, "00199980003999": 5, "relev": 5, "ensembl": 5, "uniform": 5, "manner": 5, "what": 5, "score": 5, "std_score": 5, "17": 5, "differenti": 5, "algorithm": 5, "capabl": 5, "behind": 5}, "objects": {"": [[4, 0, 0, "-", "uncertainties"]], "uncertainties": [[4, 1, 1, "", "Variable"], [4, 2, 1, "", "ufloat"], [4, 2, 1, "", "ufloat_fromstr"], [4, 2, 1, "", "wrap"]]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:function"}, "objnames": {"0": ["py", "module", "Python module"], "1": ["py", "class", "Python class"], "2": ["py", "function", "Python function"]}, "titleterms": {"format": [0, 3], "variabl": [0, 3, 4, 5], "uncertainti": [0, 1, 3, 4, 5], "print": 0, "standard": 0, "precis": 0, "control": 0, "custom": [0, 5], "option": 0, "detail": 0, "global": 0, "pretti": 0, "latex": 0, "output": 0, "tabl": 1, "content": 1, "instal": 2, "credit": 2, "download": 2, "sourc": [2, 5], "code": 2, "develop": 2, "version": 2, "get": 2, "help": 2, "how": 2, "cite": 2, "thi": 2, "packag": [2, 3], "acknowledg": 2, "licens": 2, "numpi": 3, "arrai": 3, "The": 3, "unumpi": 3, "creation": 3, "manipul": 3, "matric": [3, 5], "nomin": 3, "valu": 3, "mathemat": [3, 4, 5], "function": [3, 4, 5], "nan": [3, 4, 5], "test": [3, 4], "awar": 3, "oper": [3, 4, 5], "store": 3, "text": 3, "addit": [3, 5], "ulinalg": 3, "advanc": 4, "topic": 4, "api": 4, "applic": 4, "program": 4, "interfac": 4, "argument": 4, "return": 4, "exampl": 4, "note": 4, "whether": 4, "an": 4, "object": 4, "i": 4, "number": [4, 5], "special": 4, "technic": 4, "pickl": 4, "comparison": [4, 5], "linear": 4, "propag": 4, "definit": 4, "differenti": 4, "method": 4, "track": 4, "random": 4, "python": 4, "class": 4, "user": 5, "guid": 5, "basic": 5, "usag": 5, "creat": 5, "math": 5, "uncertain": 5, "equal": 5, "inequ": 5, "magnitud": 5, "handl": 5, "infin": 5, "automat": 5, "correl": 5, "access": 5, "individu": 5, "covari": 5, "matrix": 5, "us": 5, "make": 5, "accept": 5, "miscellan": 5, "util": 5, "deriv": 5, "inform": 5}, "envversion": {"sphinx.domains.c": 3, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 9, "sphinx.domains.index": 1, "sphinx.domains.javascript": 3, "sphinx.domains.math": 2, "sphinx.domains.python": 4, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx": 60}, "alltitles": {"Formatting Variables with uncertainties": [[0, "formatting-variables-with-uncertainties"]], "Printing": [[0, "printing"]], "Standard formats": [[0, "standard-formats"]], "Precision control": [[0, "precision-control"]], "Custom options": [[0, "custom-options"]], "Details": [[0, "details"]], "Global formatting": [[0, "global-formatting"]], "Customizing the pretty-print and LaTeX outputs": [[0, "customizing-the-pretty-print-and-latex-outputs"]], "Uncertainties": [[1, "uncertainties"]], "Table of Contents": [[1, "table-of-contents"]], "Installation and Credits": [[2, "installation-and-credits"]], "Download and Installation": [[2, "download-and-installation"]], "Source code and Development Version": [[2, "source-code-and-development-version"]], "Getting Help": [[2, "getting-help"]], "Credits": [[2, "credits"]], "How to cite this package": [[2, "how-to-cite-this-package"]], "Acknowledgments": [[2, "acknowledgments"]], "License": [[2, "license"]], "Uncertainties and numpy arrays": [[3, "uncertainties-and-numpy-arrays"]], "Arrays of uncertainties Variables": [[3, "arrays-of-uncertainties-variables"]], "The unumpy package": [[3, "the-unumpy-package"]], "Creation and manipulation of arrays and matrices": [[3, "creation-and-manipulation-of-arrays-and-matrices"]], "Arrays": [[3, "arrays"]], "Matrices": [[3, "matrices"]], "Uncertainties and nominal values": [[3, "uncertainties-and-nominal-values"]], "Mathematical functions": [[3, "mathematical-functions"]], "NaN testing and NaN-aware operations": [[3, "nan-testing-and-nan-aware-operations"]], "Storing arrays in text format": [[3, "storing-arrays-in-text-format"]], "Additional array functions: unumpy.ulinalg": [[3, "additional-array-functions-unumpy-ulinalg"]], "Advanced Topics": [[4, "advanced-topics"]], "API: Application Programming Interface": [[4, "module-uncertainties"]], "Arguments:": [[4, "arguments"], [4, "id1"], [4, "id5"]], "Returns:": [[4, "returns"], [4, "id2"]], "Examples": [[4, "examples"]], "Notes:": [[4, "notes"], [4, "id3"], [4, "id6"]], "Examples:": [[4, "id4"]], "Example:": [[4, "example"]], "Testing whether an object is a number with uncertainty": [[4, "testing-whether-an-object-is-a-number-with-uncertainty"]], "Special Technical Topics": [[4, "special-technical-topics"]], "Pickling": [[4, "pickling"]], "Comparison operators": [[4, "comparison-operators"], [5, "comparison-operators"]], "Linear propagation of uncertainties": [[4, "linear-propagation-of-uncertainties"]], "NaN uncertainty": [[4, "nan-uncertainty"]], "Mathematical definition of numbers with uncertainties": [[4, "mathematical-definition-of-numbers-with-uncertainties"]], "Differentiation method": [[4, "differentiation-method"]], "Tracking of random variables": [[4, "tracking-of-random-variables"]], "Python classes for variables and functions with uncertainty": [[4, "python-classes-for-variables-and-functions-with-uncertainty"]], "User Guide": [[5, "user-guide"]], "Basic usage": [[5, "basic-usage"]], "Creating Variables: numbers with uncertainties": [[5, "creating-variables-numbers-with-uncertainties"]], "Basic math with uncertain Variables": [[5, "basic-math-with-uncertain-variables"]], "Mathematical operations with uncertain Variables": [[5, "mathematical-operations-with-uncertain-variables"]], "Equality and inequality comparisons": [[5, "equality-and-inequality-comparisons"]], "Comparisons of magnitude": [[5, "comparisons-of-magnitude"]], "Handling NaNs and infinities": [[5, "handling-nans-and-infinities"]], "Automatic correlations": [[5, "automatic-correlations"]], "Access to the individual sources of uncertainty": [[5, "access-to-the-individual-sources-of-uncertainty"]], "Covariance and correlation matrices": [[5, "covariance-and-correlation-matrices"]], "Covariance matrix": [[5, "covariance-matrix"]], "Correlation matrix": [[5, "correlation-matrix"]], "Correlated variables": [[5, "correlated-variables"]], "Use of a covariance matrix": [[5, "use-of-a-covariance-matrix"]], "Use of a correlation matrix": [[5, "use-of-a-correlation-matrix"]], "Making custom functions accept numbers with uncertainties": [[5, "making-custom-functions-accept-numbers-with-uncertainties"]], "Miscellaneous utilities": [[5, "miscellaneous-utilities"]], "Derivatives": [[5, "derivatives"]], "Additional information": [[5, "additional-information"]]}, "indexentries": {"formatting": [[0, "index-1"]], "formatting variables": [[0, "index-0"]], "printing": [[0, "index-1"]], "credits": [[2, "index-1"]], "installation": [[2, "index-0"]], "license": [[2, "index-2"]], "nan": [[3, "index-6"], [4, "index-8"], [5, "index-4"]], "additional functions": [[3, "index-9"]], "array": [[3, "index-7"], [3, "index-8"]], "arrays": [[3, "index-1"], [3, "index-2"]], "creation": [[3, "index-2"], [3, "index-3"], [5, "index-1"]], "creation and manipulation": [[3, "index-2"], [3, "index-3"]], "linear algebra": [[3, "index-9"]], "mathematical operation": [[3, "index-5"], [5, "index-3"]], "matrices": [[3, "index-1"], [3, "index-3"]], "nominal value": [[3, "index-4"], [4, "index-12"], [5, "index-11"], [5, "index-2"]], "on an array of numbers": [[3, "index-5"]], "reading from file": [[3, "index-8"], [4, "index-4"]], "saving to file": [[3, "index-7"], [4, "index-3"]], "simple use": [[3, "index-1"]], "standard deviation": [[3, "index-4"], [5, "index-10"], [5, "index-11"]], "testing and operations (in arrays)": [[3, "index-6"]], "ulinalg": [[3, "index-9"]], "uncertainty": [[3, "index-4"], [4, "index-11"], [4, "index-8"], [5, "index-11"], [5, "index-2"]], "uniform access (array)": [[3, "index-4"]], "unumpy": [[3, "index-0"]], "affinescalarfunc class": [[4, "index-14"]], "variable (class in uncertainties)": [[4, "uncertainties.Variable"]], "variable class": [[4, "index-13"]], "api": [[4, "index-1"]], "boolean value": [[4, "index-6"]], "classes": [[4, "index-13"]], "comparison operators": [[4, "index-5"], [5, "index-6"]], "definition": [[4, "index-11"], [4, "index-12"], [4, "index-9"]], "linear propagation of uncertainties": [[4, "index-7"]], "module": [[4, "module-uncertainties"]], "number with uncertainty": [[4, "index-13"], [4, "index-3"], [4, "index-4"], [4, "index-9"], [5, "index-1"]], "pickling": [[4, "index-2"]], "probability distribution": [[4, "index-10"]], "technical details": [[4, "index-0"], [4, "index-5"]], "ufloat() (in module uncertainties)": [[4, "uncertainties.ufloat"]], "ufloat_fromstr() (in module uncertainties)": [[4, "uncertainties.ufloat_fromstr"]], "uncertainties": [[4, "module-uncertainties"]], "wrap() (in module uncertainties)": [[4, "uncertainties.wrap"]], "c code": [[5, "index-9"]], "fortran code": [[5, "index-9"]], "correlated variables": [[5, "index-8"]], "correlations": [[5, "index-5"], [5, "index-8"]], "covariance matrix": [[5, "index-7"]], "derivatives": [[5, "index-12"]], "detailed example": [[5, "index-5"]], "on a scalar": [[5, "index-3"]], "on the fly modification": [[5, "index-10"]], "scalar": [[5, "index-2"]], "testing (scalar)": [[5, "index-4"]], "umath": [[5, "index-3"]], "uniform access (scalar)": [[5, "index-11"]], "user guide": [[5, "index-0"]], "wrapping": [[5, "index-9"]], "wrapping (c, fortran,\u2026) functions": [[5, "index-9"]]}}) \ No newline at end of file +Search.setIndex({"docnames": ["formatting", "index", "install", "numpy_guide", "tech_guide", "user_guide"], "filenames": ["formatting.rst", "index.rst", "install.rst", "numpy_guide.rst", "tech_guide.rst", "user_guide.rst"], "titles": ["Formatting Variables with uncertainties", "Uncertainties", "Installation and Credits", "Uncertainties and numpy arrays", "Advanced Topics", "User Guide"], "terms": {"number": [0, 1, 2, 3], "can": [0, 1, 2, 3, 4, 5], "conveni": [0, 5], "x": [0, 1, 2, 4, 5], "0": [0, 1, 3, 4, 5], "200": 0, "010": 0, "The": [0, 1, 2, 4, 5], "result": [0, 1, 4, 5], "form": [0, 4, 5], "gener": [0, 2, 3, 4, 5], "pars": 0, "back": [0, 3], "ufloat_fromstr": [0, 3, 4, 5], "except": [0, 4, 5], "nomin": [0, 4, 5], "valu": [0, 1, 4, 5], "alwai": [0, 4, 5], "have": [0, 1, 2, 3, 4, 5], "same": [0, 4, 5], "thi": [0, 1, 3, 4, 5], "make": [0, 1, 3, 4], "easier": 0, "compar": [0, 4, 5], "them": [0, 4, 5], "more": [0, 2, 3, 4, 5], "over": [0, 4], "obtain": [0, 3, 4, 5], "python": [0, 1, 2, 5], "2": [0, 1, 3, 4, 5], "6": [0, 1], "through": [0, 3, 4, 5], "usual": [0, 3, 4], "method": [0, 5], "string": [0, 3, 4, 5], "10": [0, 3, 4, 5], "2f": 0, "20": [0, 1, 5], "01": [0, 1, 3, 4, 5], "all": [0, 2, 3, 4, 5], "float": [0, 3, 4, 5], "specif": [0, 4], "ar": [0, 1, 2, 3, 4, 5], "accept": [0, 1, 4], "those": [0, 3, 5], "n": [0, 5], "type": [0, 4, 5], "In": [0, 3, 4, 5], "particular": [0, 3], "fill": 0, "charact": 0, "an": [0, 1, 2, 3, 5], "align": 0, "sign": 0, "zero": [0, 4, 5], "width": 0, "support": [0, 2, 3, 4], "retain": 0, "origin": [0, 4, 5], "mean": [0, 3, 4, 5], "e": [0, 3, 4, 5], "g": [0, 2, 5], "2e": 0, "us": [0, 1, 2, 3, 4], "two": [0, 3, 4, 5], "digit": [0, 4, 5], "after": [0, 4], "decim": 0, "point": 0, "code": [0, 1, 4, 5], "work": [0, 2, 3, 4, 5], "produc": [0, 3], "similar": [0, 2, 3], "when": [0, 2, 3, 4, 5], "run": [0, 2, 4], "It": [0, 3, 5], "i": [0, 1, 2, 3, 5], "possibl": [0, 3, 4, 5], "signific": [0, 4], "ad": [0, 2, 5], "modifi": [0, 4, 5], "u": [0, 5], "befor": 0, "ani": [0, 1, 4, 5], "valid": 0, "like": [0, 1, 2, 3, 4, 5], "f": [0, 4, 5], "empti": 0, "etc": [0, 3, 4], "1": [0, 1, 3, 4, 5], "1u": 0, "3": [0, 1, 2, 3, 4, 5], "3u": 0, "2000": 0, "0100": 0, "expon": [0, 5], "notat": [0, 5], "1ue": 0, "percentag": 0, "must": [0, 3, 4, 5], "choos": 0, "particl": 0, "data": [0, 3], "group": 0, "round": [0, 5], "rule": [0, 4], "keep": [0, 2, 4, 5], "small": [0, 4, 5], "which": [0, 2, 3, 4, 5], "read": [0, 3, 4], "time": [0, 4, 5], "prevent": 0, "from": [0, 1, 2, 3, 4, 5], "being": [0, 3, 4, 5], "displai": 0, "too": [0, 3, 5], "few": [0, 4], "automat": [0, 1, 4], "provid": [0, 2, 3, 4, 5], "even": [0, 3, 4], "flexibl": 0, "thei": [0, 3, 4], "end": 0, "p": [0, 4], "00": [0, 1, 3, 4, 5], "2ep": 0, "\u00b9": 0, "mode": 0, "thu": [0, 3, 4, 5], "superscript": 0, "": [0, 3, 4, 5], "shorthand": 0, "parenthes": 0, "repres": [0, 4], "last": [0, 5], "l": 0, "1e7": 0, "06": 0, "left": 0, "pm": 0, "right": 0, "requir": [0, 2, 3, 4, 5], "around": [0, 4], "part": 0, "without": [0, 3], "enclos": 0, "trail": 0, "instanc": [0, 3, 4, 5], "so": [0, 2, 3, 4, 5], "explicitli": 0, "factor": [0, 5], "physic": 0, "unit": 0, "kg": 0, "add": [0, 5], "No": 0, "These": [0, 3, 4, 5], "combin": [0, 5], "meaning": [0, 4], "A": [0, 2, 4], "common": [0, 1, 3, 4], "calcul": [0, 1, 2, 3, 4, 5], "need": [0, 5], "larger": [0, 4], "absolut": 0, "increas": 0, "legibl": 0, "1e": 0, "0e": 0, "11": 0, "minim": 0, "wai": [0, 3, 4], "forc": 0, "thank": [0, 2, 3, 5], "featur": [0, 3], "each": [0, 3, 4, 5], "deviat": [0, 4, 5], "correctli": [0, 4], "across": 0, "multipl": [0, 3, 4, 5], "line": 0, "while": [0, 3, 4, 5], "rel": 0, "magnitud": 0, "error": [0, 1, 3, 4, 5], "still": [0, 2, 4], "readili": 0, "estim": [0, 4], "exactli": [0, 4, 5], "integ": [0, 4], "ufloat": [0, 1, 3, 4, 5], "1415": 0, "1415e10": 0, "0005": 0, "14": [0, 1, 4], "001": 0, "given": [0, 5], "its": [0, 4, 5], "represent": [0, 3, 4, 5], "y": [0, 1, 2, 4, 5], "23456789012345": 0, "123456789": 0, "23": [0, 4], "12": [0, 4, 5], "repr": 0, "sometim": [0, 4, 5], "consist": [0, 4], "program": [0, 1, 2, 5], "formatt": 0, "class": [0, 3], "allow": [0, 2, 4, 5], "one": [0, 2, 3, 4, 5], "do": [0, 1, 3, 4, 5], "just": [0, 3], "here": [0, 1, 5], "how": [0, 1], "shorthandformatt": 0, "def": 0, "format_field": 0, "self": 0, "format_spec": 0, "isinst": [0, 4], "return": [0, 3, 5], "special": [0, 1, 5], "other": [0, 1, 2, 4, 5], "els": 0, "super": 0, "frmtr": 0, "themselv": [0, 5], "For": [0, 1, 2, 3, 4, 5], "exampl": [0, 3, 5], "center": 0, "dot": 0, "instead": [0, 3, 4, 5], "default": [0, 3], "symbol": [0, 4], "easili": [0, 5], "done": [0, 1, 3, 5], "set": 0, "core": 0, "mult_symbol": 0, "beyond": [0, 4], "also": [0, 1, 2, 3, 4, 5], "found": [0, 5], "document": [0, 1, 3, 4], "format_num": 0, "error propag": 1, "error calcul": 1, "librari": 1, "packag": [1, 4, 5], "open": 1, "sourc": 1, "mani": [1, 2, 3, 4, 5], "scientif": [1, 2], "field": 1, "propag": [1, 5], "mathemat": 1, "take": [1, 4, 5], "pain": 1, "complex": [1, 5], "out": [1, 3, 5], "quick": 1, "tast": 1, "import": [1, 3, 4, 5], "print": [1, 3, 4, 5], "4": [1, 3, 4, 5], "5": [1, 3, 4, 5], "22": 1, "linear": [1, 5], "theori": [1, 4, 5], "deriv": [1, 4], "analyt": [1, 4, 5], "correl": [1, 3, 4], "between": [1, 3, 4, 5], "variabl": 1, "handl": [1, 4], "yield": [1, 4, 5], "express": [1, 4, 5], "respect": [1, 4, 5], "uncertain": [1, 4], "approach": [1, 5], "see": [1, 4, 5], "soerp": [1, 4], "higher": [1, 2, 4], "order": [1, 4, 5], "term": [1, 4, 5], "mcerp": [1, 4], "mont": [1, 2, 4], "carlo": [1, 4], "licens": 1, "under": [1, 2], "revis": [1, 2], "bsd": [1, 2], "cc": 1, "sa": 1, "instal": 1, "credit": 1, "download": 1, "develop": 1, "version": [1, 4, 5], "get": [1, 5], "help": [1, 3], "cite": 1, "acknowledg": 1, "user": [1, 2, 4], "guid": [1, 4], "basic": [1, 3], "usag": 1, "creat": [1, 3, 4], "math": [1, 3, 4], "oper": 1, "comparison": 1, "nan": 1, "infin": 1, "access": [1, 3], "individu": 1, "covari": 1, "matric": 1, "custom": 1, "function": 1, "miscellan": 1, "util": [1, 2, 3], "addit": [1, 4], "inform": 1, "numpi": [1, 2, 4, 5], "arrai": [1, 2, 4, 5], "unumpi": 1, "store": [1, 4], "text": 1, "format": [1, 4, 5], "ulinalg": 1, "advanc": [1, 3, 5], "topic": [1, 5], "api": [1, 5], "applic": [1, 5], "interfac": [1, 5], "technic": [1, 2, 5], "uncertainti": 2, "8": [2, 3, 5], "earlier": 2, "test": [2, 5], "mai": 2, "current": [2, 3], "13": 2, "regularli": 2, "To": [2, 4, 5], "pip": 2, "you": [2, 5], "upgrad": 2, "older": 2, "system": 2, "anaconda": 2, "macport": 2, "linux": 2, "manag": 2, "maintain": 2, "abl": [2, 5], "someth": 2, "conda": 2, "c": [2, 5], "forg": 2, "sudo": 2, "port": 2, "py": 2, "apt": 2, "depend": [2, 4, 5], "your": 2, "platform": 2, "should": [2, 3, 4, 5], "therefor": [2, 4], "recommend": [2, 4], "latest": 2, "archiv": 2, "index": 2, "pypi": 2, "unpack": [2, 3], "github": 2, "releas": 2, "page": [2, 4], "unzip": 2, "tar": 2, "xf": 2, "m": 2, "git": 2, "fork": 2, "clone": 2, "com": 2, "lmfit": 2, "written": [2, 5], "pure": [2, 3, 4], "ha": [2, 3, 4, 5], "extern": [2, 5], "If": [2, 4, 5], "avail": [2, 3, 4, 5], "suit": 2, "pytest": 2, "pytest_cov": 2, "build": 2, "doc": 2, "sphinx": 2, "option": [2, 4, 5], "enabl": 2, "question": 2, "about": [2, 4, 5], "troubl": 2, "discuss": [2, 5], "bug": 2, "report": 2, "issu": 2, "wa": 2, "eric": 2, "o": 2, "lebigot": 2, "eol": 2, "until": 2, "2024": 2, "project": 2, "move": 2, "organ": [2, 4], "sustain": 2, "mainten": 2, "member": 2, "devlop": 2, "team": 2, "includ": [2, 3, 4, 5], "andrew": 2, "savag": 2, "justin": 2, "gerber": 2, "legibot": 2, "matt": 2, "newvil": 2, "Will": 2, "shank": 2, "contribut": [2, 4, 5], "suggest": 2, "welcom": 2, "public": 2, "pleas": 2, "peopl": 2, "who": 2, "made": [2, 3, 4], "donat": 2, "aliv": 2, "posit": [2, 4], "feedback": 2, "greatli": 2, "appreci": 2, "gotten": 2, "kei": 2, "input": [2, 4], "arnaud": 2, "delobel": 2, "pierr": 2, "clad\u00e9": 2, "sebastian": 2, "walter": 2, "patch": 2, "tim": 2, "head": 2, "jos\u00e9": 2, "sabat": 2, "martijn": 2, "pieter": 2, "ram": 2, "rachum": 2, "christoph": 2, "deil": 2, "gabi": 2, "davar": 2, "roman": 2, "yurchak": 2, "paul": 2, "romano": 2, "gratefulli": 2, "improv": 2, "joaquin": 2, "abian": 2, "jason": 2, "moor": 2, "martin": 2, "lutz": 2, "v\u00edctor": 2, "terr\u00f3n": 2, "matthew": 2, "peel": 2, "don": 2, "peterson": 2, "mika": 2, "pflueger": 2, "albert": 2, "puig": 2, "abraham": 2, "lee": 2, "arian": 2, "sanusi": 2, "laloux": 2, "jonathan": 2, "whitmor": 2, "federico": 2, "vaggi": 2, "marco": 2, "ferra": 2, "hernan": 2, "grecco": 2, "david": 2, "zwicker": 2, "jame": 2, "hester": 2, "nelson": 2, "grate": 2, "maco": 2, "distribut": [2, 4, 5], "stickel": 2, "paleino": 2, "ceratto": 2, "roberto": 2, "colistet": 2, "jr": 2, "filip": 2, "pire": 2, "alvarenga": 2, "fernand": 2, "felix": 2, "yan": 2, "raybaut": 2, "gohlk": 2, "hi": 2, "base": [2, 5], "window": 2, "softwar": 2, "2010": 2, "put": [3, 4], "arr": 3, "02": [3, 5], "sum": [3, 5], "perform": [3, 4, 5], "transpar": [3, 4, 5], "contain": [3, 4, 5], "cosin": 3, "built": 3, "uarrai": 3, "002": 3, "directli": [3, 5], "arbitrari": 3, "object": [3, 5], "best": 3, "first": 3, "mat": 3, "umatrix": 3, "convert": 3, "matrix": 3, "behav": [3, 4], "better": 3, "some": [3, 5], "invers": 3, "regular": [3, 4], "cannot": [3, 4, 5], "invert": 3, "doe": [3, 4, 5], "why": 3, "both": [3, 4, 5], "pseudo": 3, "nominal_valu": [3, 4, 5], "std_dev": [3, 4, 5], "modul": [3, 4, 5], "defin": [3, 4, 5], "umath": [3, 4, 5], "scalar": [3, 4], "co": [3, 4, 5], "element": 3, "name": 3, "arcco": 3, "aco": [3, 5], "definit": 3, "quantiti": [3, 4, 5], "One": 3, "pertain": 3, "isnan": [3, 5], "true": [3, 4, 5], "fals": [3, 4, 5], "otherwis": 3, "sinc": [3, 4, 5], "nanmean": 3, "skip": 3, "where": [3, 4], "mask": 3, "dtype": 3, "equival": [3, 4], "masked_arr": 3, "ma": 3, "case": [3, 4, 5], "becaus": [3, 4, 5], "undefin": [3, 4], "final": [3, 4, 5], "averag": [3, 4], "well": [3, 4, 5], "non": [3, 4, 5], "pickl": 3, "save": 3, "file": [3, 4], "advantag": 3, "preserv": [3, 4], "lose": 3, "comput": 3, "human": 3, "readabl": 3, "savetxt": 3, "loadtxt": 3, "write": 3, "ask": 3, "convers": 3, "txt": 3, "fmt": 3, "r": 3, "instruct": 3, "column": [3, 5], "separ": 3, "we": [3, 5], "func": 3, "pass": 3, "byte": 3, "maximum": 3, "known": [3, 5], "would": [3, 4], "max_col": 3, "col": 3, "lambda": 3, "dat": 3, "decod": 3, "utf": 3, "rang": 3, "offer": 3, "linalg": 3, "inv": 3, "025": 3, "pinv": 3, "0012419339757": 3, "00161789987329": 3, "give": [4, 5], "depth": 4, "descript": 4, "most": [4, 5], "wrap": [4, 5], "suppli": 4, "none": 4, "tag": [4, 5], "standard": [4, 5], "trace": 4, "b": [4, 5], "1000": 4, "30": 4, "kilo": 4, "typic": 4, "interpret": [4, 5], "central": [4, 5], "sigma": [4, 5], "level": 4, "attribut": [4, 5], "match": 4, "sever": 4, "invalid": 4, "rais": [4, 5], "valueerror": 4, "std": 4, "least": 4, "That": [4, 5], "25": [4, 5], "03": 4, "ufloat_fromsstr": 4, "58": 4, "85e5": 4, "3e4": 4, "8e5": 4, "38": 4, "e4": 4, "72": 4, "15": 4, "04": 4, "680": 4, "41": 4, "68": 4, "041": 4, "29": 4, "independ": [4, 5], "affinescalarfunc": 4, "derivatives_arg": 4, "derivatives_kwarg": 4, "drop": 4, "replac": [4, 5], "list": [4, 5], "iter": 4, "tupleof": 4, "functionss": 4, "dictionari": 4, "dict": 4, "keyword": 4, "partial": 4, "correspond": 4, "paramet": [4, 5], "signatur": 4, "derivative_arg": 4, "hold": 4, "derivit": 4, "vararg": 4, "derivative_kwarg": 4, "kwarg": 4, "entri": 4, "isa": 4, "numer": [4, 5], "ignor": 4, "meaningless": 4, "funcion": 4, "sin": [4, 5], "could": 4, "usin_a": 4, "usin_b": 4, "usin_c": 4, "builtin": 4, "usin_2": 4, "carri": 4, "check": [4, 5], "togeth": 4, "dump": 4, "x2": 4, "y2": 4, "load": 4, "unpickl": 4, "new": [4, 5], "complet": [4, 5], "howev": 4, "necessarili": 4, "bear": 4, "relationship": 4, "fact": [4, 5], "anoth": 4, "did": 4, "finish": 4, "disappear": 4, "14142135623730953": 4, "show": [4, 5], "uncorrel": [4, 5], "pragmat": 4, "semant": 4, "wherev": 4, "ident": [4, 5], "onli": [4, 5], "boolean": 4, "bool": 4, "probabl": 4, "essenti": 4, "infinitesim": 4, "variat": 4, "possibli": 4, "infinit": [4, 5], "sampl": [4, 5], "equal": 4, "itself": [4, 5], "almost": 4, "differ": [4, 5], "z": 4, "t": [4, 5], "similarli": [4, 5], "suppos": 4, "larg": 4, "interv": 4, "than": [4, 5], "natur": 4, "consid": [4, 5], "practic": 4, "purpos": 4, "subject": 4, "constraint": 4, "approxim": 4, "constant": 4, "region": 4, "highest": 4, "real": 4, "follow": [4, 5], "whose": 4, "overlap": 4, "0001": 4, "continu": 4, "concentr": 4, "violat": 4, "assumpt": 4, "involv": [4, 5], "unambigu": 4, "0002": 4, "guarante": 4, "satisfi": 4, "though": 4, "inde": [4, 5], "long": [4, 5], "precis": 4, "expans": 4, "largest": 4, "much": 4, "remain": [4, 5], "neglect": 4, "perfect": 4, "atan": [4, 5], "tan": [4, 5], "count": 4, "intermedi": 4, "sine": 4, "quit": 4, "parabol": 4, "might": [4, 5], "enough": 4, "necessari": [4, 5], "second": 4, "fast": [4, 5], "principl": 4, "veri": [4, 5], "slower": 4, "scheme": 4, "appli": [4, 5], "intern": 4, "As": [4, 5], "consequ": 4, "sqrt": [4, 5], "indic": [4, 5], "adapt": 4, "perfectli": 4, "correct": [4, 5], "despit": [4, 5], "squar": [4, 5], "root": [4, 5], "restrict": 4, "normal": [4, 5], "gaussian": 4, "reduc": 4, "simpli": [4, 5], "underli": 4, "manipul": [4, 5], "assum": 4, "mostli": 4, "size": 4, "cover": 4, "good": 4, "choic": 4, "median": 4, "locat": 4, "impli": 4, "properti": 4, "insid": [4, 5], "high": 4, "densiti": 4, "symmetr": 4, "rare": 4, "strictli": 4, "fundament": 4, "formula": 4, "umath_cor": 4, "num_deriv_func": 4, "evalu": 4, "implement": [4, 5], "revers": 4, "accumul": 4, "chain": 4, "faster": 4, "simpl": [4, 5], "demonstr": 4, "42": 4, "poli": 4, "46": 4, "abov": [4, 5], "123": 4, "hand": [4, 5], "updat": [4, 5], "fly": [4, 5], "now": 4, "redefin": 4, "chang": [4, 5], "previous": 4, "10000": 4, "unchang": 4, "mechan": 4, "fulli": 4, "inherit": 4, "alias": 4, "docstr": 4, "factori": [4, 5], "were": 4, "summat": 4, "7": 5, "sub": 5, "y_variabl": 5, "fairli": 5, "abbrevi": 5, "short": 5, "pretti": 5, "detail": 5, "ufloat_from_str": 5, "doubl": 5, "040": 5, "004": 5, "quadratur": 5, "32": 5, "multipli": 5, "properli": 5, "240": 5, "76": 5, "83749084919418": 5, "But": 5, "note": 5, "scale": 5, "40": 5, "70": 5, "understand": 5, "know": 5, "7071067811865476": 5, "singl": 5, "reflect": 5, "besid": 5, "exp": 5, "19866933079506122": 5, "009800665778412416": 5, "03998933418663417": 5, "003996800426643912": 5, "9355069850316178": 5, "003118356616772059": 5, "230": 5, "16428571428571428": 5, "acosh": 5, "asin": 5, "asinh": 5, "atan2": 5, "atanh": 5, "ceil": 5, "copysign": 5, "cosh": 5, "degre": 5, "erf": 5, "erfc": 5, "expm1": 5, "fab": 5, "floor": 5, "fmod": 5, "frexp": 5, "fsum": 5, "gamma": 5, "hypot": 5, "isinf": 5, "ldexp": 5, "lgamma": 5, "log": 5, "log10": 5, "log1p": 5, "modf": 5, "pow": 5, "radian": 5, "sinh": 5, "tanh": 5, "trunc": 5, "somewhat": 5, "complic": 5, "attent": 5, "hint": 5, "explor": 5, "below": 5, "relat": 5, "although": 5, "whether": 5, "concept": 5, "bit": 5, "greater": 5, "24": 5, "less": 5, "lead": 5, "mayb": 5, "surpris": 5, "neither": 5, "nor": 5, "appear": 5, "either": 5, "care": 5, "exercis": 5, "typeerror": 5, "inf": 5, "nupmi": 5, "whatev": 5, "random": 5, "step": 5, "variou": 5, "account": 5, "error_compon": 5, "map": 5, "total": 5, "accord": 5, "usabl": 5, "v": 5, "sum_valu": 5, "21": 5, "223606797749979": 5, "var": 5, "item": 5, "varianc": 5, "quadrat": 5, "distinct": 5, "systemat": 5, "syst_error": 5, "other_error": 5, "cov_matrix": 5, "covariance_matrix": 5, "05": 5, "track": 5, "corr_matrix": 5, "correlation_matrix": 5, "4472136": 5, "89442719": 5, "reciproc": 5, "u2": 5, "v2": 5, "sum2": 5, "correlated_valu": 5, "three": 5, "83371856862256e": 5, "09": 5, "theoret": 5, "3e": 5, "9": 5, "cancel": 5, "desir": 5, "reproduc": 5, "up": 5, "altern": 5, "sequenc": 5, "ones": 5, "diagon": 5, "u3": 5, "v3": 5, "sum3": 5, "correlated_values_norm": 5, "22360679774997899": 5, "recov": 5, "meant": 5, "anywai": 5, "call": 5, "control": 5, "fortran": 5, "argument": 5, "wrapped_f": 5, "place": 5, "With": 5, "certain": 5, "studi": 5, "impact": 5, "prev_uncert": 5, "00199980003999": 5, "relev": 5, "ensembl": 5, "uniform": 5, "manner": 5, "what": 5, "score": 5, "std_score": 5, "17": 5, "differenti": 5, "algorithm": 5, "capabl": 5, "behind": 5}, "objects": {"": [[4, 0, 0, "-", "uncertainties"]], "uncertainties": [[4, 1, 1, "", "Variable"], [4, 2, 1, "", "ufloat"], [4, 2, 1, "", "ufloat_fromstr"], [4, 2, 1, "", "wrap"]]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:function"}, "objnames": {"0": ["py", "module", "Python module"], "1": ["py", "class", "Python class"], "2": ["py", "function", "Python function"]}, "titleterms": {"format": [0, 3], "variabl": [0, 3, 4, 5], "uncertainti": [0, 1, 3, 4, 5], "print": 0, "standard": 0, "precis": 0, "control": 0, "custom": [0, 5], "option": 0, "detail": 0, "global": 0, "pretti": 0, "latex": 0, "output": 0, "tabl": 1, "content": 1, "instal": 2, "credit": 2, "download": 2, "sourc": [2, 5], "code": 2, "develop": 2, "version": 2, "get": 2, "help": 2, "how": 2, "cite": 2, "thi": 2, "packag": [2, 3], "acknowledg": 2, "licens": 2, "numpi": 3, "arrai": 3, "The": 3, "unumpi": 3, "creation": 3, "manipul": 3, "matric": [3, 5], "nomin": 3, "valu": 3, "mathemat": [3, 4, 5], "function": [3, 4, 5], "nan": [3, 4, 5], "test": [3, 4], "awar": 3, "oper": [3, 4, 5], "store": 3, "text": 3, "addit": [3, 5], "ulinalg": 3, "advanc": 4, "topic": 4, "api": 4, "applic": 4, "program": 4, "interfac": 4, "argument": 4, "return": 4, "exampl": 4, "note": 4, "whether": 4, "an": 4, "object": 4, "i": 4, "number": [4, 5], "special": 4, "technic": 4, "pickl": 4, "comparison": [4, 5], "linear": 4, "propag": 4, "definit": 4, "differenti": 4, "method": 4, "track": 4, "random": 4, "python": 4, "class": 4, "user": 5, "guid": 5, "basic": 5, "usag": 5, "creat": 5, "math": 5, "uncertain": 5, "equal": 5, "inequ": 5, "magnitud": 5, "handl": 5, "infin": 5, "automat": 5, "correl": 5, "access": 5, "individu": 5, "covari": 5, "matrix": 5, "us": 5, "make": 5, "accept": 5, "miscellan": 5, "util": 5, "deriv": 5, "inform": 5}, "envversion": {"sphinx.domains.c": 3, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 9, "sphinx.domains.index": 1, "sphinx.domains.javascript": 3, "sphinx.domains.math": 2, "sphinx.domains.python": 4, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx": 60}, "alltitles": {"Formatting Variables with uncertainties": [[0, "formatting-variables-with-uncertainties"]], "Printing": [[0, "printing"]], "Standard formats": [[0, "standard-formats"]], "Precision control": [[0, "precision-control"]], "Custom options": [[0, "custom-options"]], "Details": [[0, "details"]], "Global formatting": [[0, "global-formatting"]], "Customizing the pretty-print and LaTeX outputs": [[0, "customizing-the-pretty-print-and-latex-outputs"]], "Uncertainties": [[1, "uncertainties"]], "Table of Contents": [[1, "table-of-contents"]], "Installation and Credits": [[2, "installation-and-credits"]], "Download and Installation": [[2, "download-and-installation"]], "Source code and Development Version": [[2, "source-code-and-development-version"]], "Getting Help": [[2, "getting-help"]], "Credits": [[2, "credits"]], "How to cite this package": [[2, "how-to-cite-this-package"]], "Acknowledgments": [[2, "acknowledgments"]], "License": [[2, "license"]], "Uncertainties and numpy arrays": [[3, "uncertainties-and-numpy-arrays"]], "Arrays of uncertainties Variables": [[3, "arrays-of-uncertainties-variables"]], "The unumpy package": [[3, "the-unumpy-package"]], "Creation and manipulation of arrays and matrices": [[3, "creation-and-manipulation-of-arrays-and-matrices"]], "Arrays": [[3, "arrays"]], "Matrices": [[3, "matrices"]], "Uncertainties and nominal values": [[3, "uncertainties-and-nominal-values"]], "Mathematical functions": [[3, "mathematical-functions"]], "NaN testing and NaN-aware operations": [[3, "nan-testing-and-nan-aware-operations"]], "Storing arrays in text format": [[3, "storing-arrays-in-text-format"]], "Additional array functions: unumpy.ulinalg": [[3, "additional-array-functions-unumpy-ulinalg"]], "Advanced Topics": [[4, "advanced-topics"]], "API: Application Programming Interface": [[4, "module-uncertainties"]], "Arguments:": [[4, "arguments"], [4, "id1"], [4, "id5"]], "Returns:": [[4, "returns"], [4, "id2"]], "Examples": [[4, "examples"]], "Notes:": [[4, "notes"], [4, "id3"], [4, "id6"]], "Examples:": [[4, "id4"]], "Example:": [[4, "example"]], "Testing whether an object is a number with uncertainty": [[4, "testing-whether-an-object-is-a-number-with-uncertainty"]], "Special Technical Topics": [[4, "special-technical-topics"]], "Pickling": [[4, "pickling"]], "Comparison operators": [[4, "comparison-operators"], [5, "comparison-operators"]], "Linear propagation of uncertainties": [[4, "linear-propagation-of-uncertainties"]], "NaN uncertainty": [[4, "nan-uncertainty"]], "Mathematical definition of numbers with uncertainties": [[4, "mathematical-definition-of-numbers-with-uncertainties"]], "Differentiation method": [[4, "differentiation-method"]], "Tracking of random variables": [[4, "tracking-of-random-variables"]], "Python classes for variables and functions with uncertainty": [[4, "python-classes-for-variables-and-functions-with-uncertainty"]], "User Guide": [[5, "user-guide"]], "Basic usage": [[5, "basic-usage"]], "Creating Variables: numbers with uncertainties": [[5, "creating-variables-numbers-with-uncertainties"]], "Basic math with uncertain Variables": [[5, "basic-math-with-uncertain-variables"]], "Mathematical operations with uncertain Variables": [[5, "mathematical-operations-with-uncertain-variables"]], "Equality and inequality comparisons": [[5, "equality-and-inequality-comparisons"]], "Comparisons of magnitude": [[5, "comparisons-of-magnitude"]], "Handling NaNs and infinities": [[5, "handling-nans-and-infinities"]], "Automatic correlations": [[5, "automatic-correlations"]], "Access to the individual sources of uncertainty": [[5, "access-to-the-individual-sources-of-uncertainty"]], "Covariance and correlation matrices": [[5, "covariance-and-correlation-matrices"]], "Covariance matrix": [[5, "covariance-matrix"]], "Correlation matrix": [[5, "correlation-matrix"]], "Correlated variables": [[5, "correlated-variables"]], "Use of a covariance matrix": [[5, "use-of-a-covariance-matrix"]], "Use of a correlation matrix": [[5, "use-of-a-correlation-matrix"]], "Making custom functions accept numbers with uncertainties": [[5, "making-custom-functions-accept-numbers-with-uncertainties"]], "Miscellaneous utilities": [[5, "miscellaneous-utilities"]], "Derivatives": [[5, "derivatives"]], "Additional information": [[5, "additional-information"]]}, "indexentries": {"formatting": [[0, "index-1"]], "formatting variables": [[0, "index-0"]], "printing": [[0, "index-1"]], "credits": [[2, "index-1"]], "installation": [[2, "index-0"]], "license": [[2, "index-2"]], "nan": [[3, "index-6"], [4, "index-8"], [5, "index-4"]], "additional functions": [[3, "index-9"]], "array": [[3, "index-7"], [3, "index-8"]], "arrays": [[3, "index-1"], [3, "index-2"]], "creation": [[3, "index-2"], [3, "index-3"], [5, "index-1"]], "creation and manipulation": [[3, "index-2"], [3, "index-3"]], "linear algebra": [[3, "index-9"]], "mathematical operation": [[3, "index-5"], [5, "index-3"]], "matrices": [[3, "index-1"], [3, "index-3"]], "nominal value": [[3, "index-4"], [4, "index-12"], [5, "index-11"], [5, "index-2"]], "on an array of numbers": [[3, "index-5"]], "reading from file": [[3, "index-8"], [4, "index-4"]], "saving to file": [[3, "index-7"], [4, "index-3"]], "simple use": [[3, "index-1"]], "standard deviation": [[3, "index-4"], [5, "index-10"], [5, "index-11"]], "testing and operations (in arrays)": [[3, "index-6"]], "ulinalg": [[3, "index-9"]], "uncertainty": [[3, "index-4"], [4, "index-11"], [4, "index-8"], [5, "index-11"], [5, "index-2"]], "uniform access (array)": [[3, "index-4"]], "unumpy": [[3, "index-0"]], "affinescalarfunc class": [[4, "index-14"]], "variable (class in uncertainties)": [[4, "uncertainties.Variable"]], "variable class": [[4, "index-13"]], "api": [[4, "index-1"]], "boolean value": [[4, "index-6"]], "classes": [[4, "index-13"]], "comparison operators": [[4, "index-5"], [5, "index-6"]], "definition": [[4, "index-11"], [4, "index-12"], [4, "index-9"]], "linear propagation of uncertainties": [[4, "index-7"]], "module": [[4, "module-uncertainties"]], "number with uncertainty": [[4, "index-13"], [4, "index-3"], [4, "index-4"], [4, "index-9"], [5, "index-1"]], "pickling": [[4, "index-2"]], "probability distribution": [[4, "index-10"]], "technical details": [[4, "index-0"], [4, "index-5"]], "ufloat() (in module uncertainties)": [[4, "uncertainties.ufloat"]], "ufloat_fromstr() (in module uncertainties)": [[4, "uncertainties.ufloat_fromstr"]], "uncertainties": [[4, "module-uncertainties"]], "wrap() (in module uncertainties)": [[4, "uncertainties.wrap"]], "c code": [[5, "index-9"]], "fortran code": [[5, "index-9"]], "correlated variables": [[5, "index-8"]], "correlations": [[5, "index-5"], [5, "index-8"]], "covariance matrix": [[5, "index-7"]], "derivatives": [[5, "index-12"]], "detailed example": [[5, "index-5"]], "on a scalar": [[5, "index-3"]], "on the fly modification": [[5, "index-10"]], "scalar": [[5, "index-2"]], "testing (scalar)": [[5, "index-4"]], "umath": [[5, "index-3"]], "uniform access (scalar)": [[5, "index-11"]], "user guide": [[5, "index-0"]], "wrapping": [[5, "index-9"]], "wrapping (c, fortran,\u2026) functions": [[5, "index-9"]]}}) \ No newline at end of file diff --git a/uncertainties.pdf b/uncertainties.pdf index 681471bb..b7d68229 100644 Binary files a/uncertainties.pdf and b/uncertainties.pdf differ diff --git a/uncertainties_doc.zip b/uncertainties_doc.zip index e2b68408..28f14cec 100644 Binary files a/uncertainties_doc.zip and b/uncertainties_doc.zip differ