Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
gb119 committed Nov 6, 2019
2 parents 1fba05a + 4071cbc commit 4100e47
Show file tree
Hide file tree
Showing 204 changed files with 25 additions and 1 deletion.
17 changes: 17 additions & 0 deletions Stoner/core/Typing.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Defines type hint types for various common types in the package
"""
import typing

from Stoner.core.setas import setas

# Column Indices
Single_Column_Index = typing.Union[str, int]
Column_Index = typing.Union[typing.Sequence[Single_Column_Index], Single_Column_Index]

# Setas
Setas_Base = typing.Sequence[str]
Setas_Dict = typing.Mapping[str, Column_Index]
Setas = typing.Union[Setas_Base, Setas_Dict, str, setas]
2 changes: 2 additions & 0 deletions Stoner/core/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@
"setas",
"exceptions",
"utils",
"Typing",
]

from .base import regexpDict, typeHintedDict, metadataObject, string_to_type
from .setas import setas as _setas
from .array import DataArray
from . import utils, exceptions, base, array
from . import Typing
7 changes: 6 additions & 1 deletion doc/Stoner.rst
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,12 @@ Analysis Package
:no-inheritance-diagram:
:headings: -~

Fitting Models <analysis-fitting>
Fitting Models
^^^^^^^^^^^^^^
.. toctree::
:maxdepth: 2

Fitting Models <analysis-fitting>

Plot Package and Modules
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand Down
Binary file modified doc/plot_cache/3D.hires.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified doc/plot_cache/3D.pdf
Binary file not shown.
Binary file modified doc/plot_cache/arrhenius-class.hires.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified doc/plot_cache/arrhenius-class.pdf
Binary file not shown.
Binary file modified doc/plot_cache/arrhenius-class.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified doc/plot_cache/arrhenius.hires.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified doc/plot_cache/arrhenius.pdf
Binary file not shown.
Binary file modified doc/plot_cache/arrhenius.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified doc/plot_cache/bdr-class.hires.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified doc/plot_cache/bdr-class.pdf
Binary file not shown.
Binary file modified doc/plot_cache/bdr-class.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified doc/plot_cache/bdr.hires.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified doc/plot_cache/bdr.pdf
Binary file not shown.
Binary file modified doc/plot_cache/bdr.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified doc/plot_cache/bins.hires.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified doc/plot_cache/bins.pdf
Binary file not shown.
Binary file modified doc/plot_cache/blochgruneisen-class.hires.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified doc/plot_cache/blochgruneisen-class.pdf
Binary file not shown.
Binary file modified doc/plot_cache/blochgruneisen-class.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified doc/plot_cache/blochgruneisen.hires.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified doc/plot_cache/blochgruneisen.pdf
Binary file not shown.
Binary file modified doc/plot_cache/blochgruneisen.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified doc/plot_cache/channel_math.hires.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified doc/plot_cache/channel_math.pdf
Binary file not shown.
Binary file modified doc/plot_cache/channel_math.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified doc/plot_cache/colormap.hires.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified doc/plot_cache/colormap.pdf
Binary file not shown.
Binary file modified doc/plot_cache/common_y.hires.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified doc/plot_cache/common_y.pdf
Binary file not shown.
Binary file modified doc/plot_cache/curve_fit_line.hires.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified doc/plot_cache/curve_fit_line.pdf
Binary file not shown.
Binary file modified doc/plot_cache/customising.hires.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified doc/plot_cache/customising.pdf
Binary file not shown.
Binary file modified doc/plot_cache/decompose.hires.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified doc/plot_cache/decompose.pdf
Binary file not shown.
Binary file modified doc/plot_cache/decompose.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified doc/plot_cache/defaultstyle.hires.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified doc/plot_cache/defaultstyle.pdf
Binary file not shown.
Binary file modified doc/plot_cache/diffev1.hires.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified doc/plot_cache/diffev1.pdf
Binary file not shown.
Binary file modified doc/plot_cache/diffev1.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified doc/plot_cache/diffev2.hires.png
Binary file modified doc/plot_cache/diffev2.pdf
Binary file not shown.
Binary file modified doc/plot_cache/diffev2.png
Binary file modified doc/plot_cache/double_y.hires.png
Binary file modified doc/plot_cache/double_y.pdf
Binary file not shown.
Binary file modified doc/plot_cache/extrapolate-demo.hires.png
Binary file modified doc/plot_cache/extrapolate-demo.pdf
Binary file not shown.
Binary file modified doc/plot_cache/extrapolate-demo.png
Binary file modified doc/plot_cache/fluchsdondheimer-class.hires.png
Binary file modified doc/plot_cache/fluchsdondheimer-class.pdf
Binary file not shown.
Binary file modified doc/plot_cache/fluchsdondheimer-class.png
Binary file modified doc/plot_cache/fluchssondheimer.hires.png
Binary file modified doc/plot_cache/fluchssondheimer.pdf
Binary file not shown.
Binary file modified doc/plot_cache/fluchssondheimer.png
Binary file modified doc/plot_cache/fowlernordheim-class.hires.png
Binary file modified doc/plot_cache/fowlernordheim-class.pdf
Binary file not shown.
Binary file modified doc/plot_cache/fowlernordheim-class.png
Binary file modified doc/plot_cache/fowlernordheim.hires.png
Binary file modified doc/plot_cache/fowlernordheim.pdf
Binary file not shown.
Binary file modified doc/plot_cache/fowlernordheim.png
Binary file modified doc/plot_cache/gbstyle.hires.png
Binary file modified doc/plot_cache/gbstyle.pdf
Binary file not shown.
Binary file modified doc/plot_cache/gbstyle.png
Binary file modified doc/plot_cache/ic_b_airy_class.hires.png
Binary file modified doc/plot_cache/ic_b_airy_class.pdf
Binary file not shown.
Binary file added doc/plot_cache/ic_b_airy_func.hires.png
Binary file added doc/plot_cache/ic_b_airy_func.pdf
Binary file not shown.
Binary file added doc/plot_cache/ic_b_airy_func.png
Binary file modified doc/plot_cache/inset.hires.png
Binary file modified doc/plot_cache/inset.pdf
Binary file not shown.
Binary file modified doc/plot_cache/jtbstyle.hires.png
Binary file modified doc/plot_cache/jtbstyle.pdf
Binary file not shown.
Binary file modified doc/plot_cache/kittel-class.hires.png
Binary file modified doc/plot_cache/kittel-class.pdf
Binary file not shown.
Binary file modified doc/plot_cache/kittel-class.png
Binary file modified doc/plot_cache/kittel.hires.png
Binary file modified doc/plot_cache/kittel.pdf
Binary file not shown.
Binary file modified doc/plot_cache/kittel.png
Binary file modified doc/plot_cache/langevin-class.hires.png
Binary file modified doc/plot_cache/langevin-class.pdf
Binary file not shown.
Binary file modified doc/plot_cache/langevin-class.png
Binary file modified doc/plot_cache/langevin.hires.png
Binary file modified doc/plot_cache/langevin.pdf
Binary file not shown.
Binary file modified doc/plot_cache/langevin.png
Binary file modified doc/plot_cache/lmfit2.hires.png
Binary file modified doc/plot_cache/lmfit2.pdf
Binary file not shown.
Binary file modified doc/plot_cache/lmfit2.png
Binary file modified doc/plot_cache/lmfit_example.hires.png
Binary file modified doc/plot_cache/lmfit_example.pdf
Binary file not shown.
Binary file modified doc/plot_cache/lorentzian_diff_class.hires.png
Binary file modified doc/plot_cache/lorentzian_diff_class.pdf
Binary file not shown.
Binary file modified doc/plot_cache/lorentzian_diff_class.png
Binary file added doc/plot_cache/lorentzian_diff_func.hires.png
Binary file added doc/plot_cache/lorentzian_diff_func.pdf
Binary file not shown.
Binary file added doc/plot_cache/lorentzian_diff_func.png
Binary file modified doc/plot_cache/make_model.hires.png
Binary file modified doc/plot_cache/make_model.pdf
Binary file not shown.
Binary file modified doc/plot_cache/make_model.png
Binary file modified doc/plot_cache/matrix.hires.png
Binary file modified doc/plot_cache/matrix.pdf
Binary file not shown.
Binary file modified doc/plot_cache/matrix.png
Binary file modified doc/plot_cache/modarrhenius-class.hires.png
Binary file modified doc/plot_cache/modarrhenius-class.pdf
Binary file not shown.
Binary file modified doc/plot_cache/modarrhenius-class.png
Binary file modified doc/plot_cache/modarrhenius.hires.png
Binary file modified doc/plot_cache/modarrhenius.pdf
Binary file not shown.
Binary file modified doc/plot_cache/modarrhenius.png
Binary file modified doc/plot_cache/multiple_y.hires.png
Binary file modified doc/plot_cache/multiple_y.pdf
Binary file not shown.
Binary file modified doc/plot_cache/nDimarrehenius.hires.png
Binary file modified doc/plot_cache/nDimarrehenius.pdf
Binary file not shown.
Binary file modified doc/plot_cache/nDimarrehenius.png
Binary file modified doc/plot_cache/nDimarrhenius-class.hires.png
Binary file modified doc/plot_cache/nDimarrhenius-class.pdf
Binary file not shown.
Binary file modified doc/plot_cache/nDimarrhenius-class.png
Binary file modified doc/plot_cache/odr_demo.hires.png
Binary file modified doc/plot_cache/odr_demo.pdf
Binary file not shown.
Binary file modified doc/plot_cache/odr_demo.png
Binary file modified doc/plot_cache/odrfit1.hires.png
Binary file modified doc/plot_cache/odrfit1.pdf
Binary file not shown.
Binary file modified doc/plot_cache/odrfit1.png
Binary file modified doc/plot_cache/odrfit2.hires.png
Binary file modified doc/plot_cache/odrfit2.pdf
Binary file not shown.
Binary file modified doc/plot_cache/odrfit2.png
Binary file modified doc/plot_cache/outlier.hires.png
Binary file modified doc/plot_cache/outlier.pdf
Binary file not shown.
Binary file modified doc/plot_cache/outlier.png
Binary file modified doc/plot_cache/panels.hires.png
Binary file modified doc/plot_cache/panels.pdf
Binary file not shown.
Binary file modified doc/plot_cache/peaks.hires.png
Binary file modified doc/plot_cache/peaks.pdf
Binary file not shown.
Binary file modified doc/plot_cache/peaks.png
Binary file modified doc/plot_cache/powerlaw-class.hires.png
Binary file modified doc/plot_cache/powerlaw-class.pdf
Binary file not shown.
Binary file modified doc/plot_cache/powerlaw-class.png
Binary file modified doc/plot_cache/powerlaw.hires.png
Binary file modified doc/plot_cache/powerlaw.pdf
Binary file not shown.
Binary file modified doc/plot_cache/powerlaw.png
Binary file modified doc/plot_cache/prbstyle.hires.png
Binary file modified doc/plot_cache/prbstyle.pdf
Binary file not shown.
Binary file modified doc/plot_cache/prbstyle.png
Binary file modified doc/plot_cache/quadratic-class.hires.png
Binary file modified doc/plot_cache/quadratic-class.pdf
Binary file not shown.
Binary file modified doc/plot_cache/quadratic-class.png
Binary file modified doc/plot_cache/quadratic.hires.png
Binary file modified doc/plot_cache/quadratic.pdf
Binary file not shown.
Binary file modified doc/plot_cache/quadratic.png
Binary file modified doc/plot_cache/rsj_noiseless_class.hires.png
Binary file modified doc/plot_cache/rsj_noiseless_class.pdf
Binary file not shown.
Binary file added doc/plot_cache/rsj_noiseless_func.hires.png
Binary file added doc/plot_cache/rsj_noiseless_func.pdf
Binary file not shown.
Binary file added doc/plot_cache/rsj_noiseless_func.png
Binary file modified doc/plot_cache/rsj_simple_class.hires.png
Binary file modified doc/plot_cache/rsj_simple_class.pdf
Binary file not shown.
Binary file added doc/plot_cache/rsj_simple_func.hires.png
Binary file added doc/plot_cache/rsj_simple_func.pdf
Binary file not shown.
Binary file added doc/plot_cache/rsj_simple_func.png
Binary file modified doc/plot_cache/scale.hires.png
Binary file modified doc/plot_cache/scale.pdf
Binary file not shown.
Binary file modified doc/plot_cache/scale.png
Binary file modified doc/plot_cache/seabornstyle.pdf
Binary file not shown.
Binary file modified doc/plot_cache/select.hires.png
Binary file modified doc/plot_cache/select.pdf
Binary file not shown.
Binary file modified doc/plot_cache/simmons-class.hires.png
Binary file modified doc/plot_cache/simmons-class.pdf
Binary file not shown.
Binary file modified doc/plot_cache/simmons-class.png
Binary file modified doc/plot_cache/simmons.hires.png
Binary file modified doc/plot_cache/simmons.pdf
Binary file not shown.
Binary file modified doc/plot_cache/simmons.png
Binary file modified doc/plot_cache/single.hires.png
Binary file modified doc/plot_cache/single.pdf
Binary file not shown.
Binary file modified doc/plot_cache/sketchstyle.hires.png
Binary file modified doc/plot_cache/sketchstyle.pdf
Binary file not shown.
Binary file modified doc/plot_cache/sketchstyle.png
Binary file modified doc/plot_cache/smooth.hires.png
Binary file modified doc/plot_cache/smooth.pdf
Binary file not shown.
Binary file modified doc/plot_cache/stitch.hires.png
Binary file modified doc/plot_cache/stitch.pdf
Binary file not shown.
Binary file modified doc/plot_cache/strijkers_class.hires.png
Binary file modified doc/plot_cache/strijkers_class.pdf
Binary file not shown.
Binary file modified doc/plot_cache/strijkers_class.png
Binary file added doc/plot_cache/strijkers_func.hires.png
Binary file added doc/plot_cache/strijkers_func.pdf
Binary file not shown.
Binary file added doc/plot_cache/strijkers_func.png
Binary file modified doc/plot_cache/subplots.hires.png
Binary file modified doc/plot_cache/subplots.pdf
Binary file not shown.
Binary file modified doc/plot_cache/template.hires.png
Binary file modified doc/plot_cache/template.pdf
Binary file not shown.
Binary file modified doc/plot_cache/template2.hires.png
Binary file modified doc/plot_cache/template2.pdf
Binary file not shown.
Binary file modified doc/plot_cache/template2.png
Binary file modified doc/plot_cache/vector_field.hires.png
Binary file modified doc/plot_cache/vector_field.pdf
Binary file not shown.
Binary file modified doc/plot_cache/vector_field.png
Binary file modified doc/plot_cache/wlfit-class.hires.png
Binary file modified doc/plot_cache/wlfit-class.pdf
Binary file not shown.
Binary file modified doc/plot_cache/wlfit-class.png
Binary file modified doc/plot_cache/wlfit.hires.png
Binary file modified doc/plot_cache/wlfit.pdf
Binary file not shown.
Binary file modified doc/plot_cache/wlfit.png

0 comments on commit 4100e47

Please sign in to comment.