From 93f47c999d4487f5d3d98a751e2afffd31f15ae9 Mon Sep 17 00:00:00 2001 From: kklmn Date: Thu, 10 Oct 2024 15:19:32 +0200 Subject: [PATCH] 1.5.1 release --- PKG-INFO | 5 +- XAFSmass/XAFSmassQt.py | 15 +- XAFSmass/__init__.py | 6 +- XAFSmass/help/_sources/index.rst.txt | 2 +- XAFSmass/help/_static/basic.css | 24 ++- XAFSmass/help/_static/classic.css | 4 +- XAFSmass/help/_static/doctools.js | 2 +- .../help/_static/documentation_options.js | 5 +- XAFSmass/help/_static/language_data.js | 4 +- XAFSmass/help/_static/pygments.css | 1 + XAFSmass/help/_static/searchtools.js | 191 +++++++++++------- XAFSmass/help/_static/sidebar.js | 2 +- XAFSmass/help/_static/sphinx_highlight.js | 16 +- XAFSmass/help/genindex.html | 27 ++- XAFSmass/help/index.html | 67 +++--- XAFSmass/help/license.html | 31 ++- XAFSmass/help/objects.inv | 2 +- XAFSmass/help/py-modindex.html | 27 ++- XAFSmass/help/search.html | 33 ++- XAFSmass/help/searchindex.js | 2 +- doc/conf.py | 4 +- doc/index.rst | 2 +- setup.py | 2 +- 23 files changed, 281 insertions(+), 193 deletions(-) diff --git a/PKG-INFO b/PKG-INFO index f1cbb83..be80147 100644 --- a/PKG-INFO +++ b/PKG-INFO @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: XAFSmass -Version: 1.5.0 +Version: 1.5.1 Summary: A program for calculating the mass of XAFS samples. For synchrotron users. Home-page: http://xafsmass.readthedocs.io Author: Konstantin Klementiev, Roman Chernikov @@ -18,6 +18,9 @@ Classifier: Topic :: Scientific/Engineering :: Physics Classifier: Topic :: Scientific/Engineering :: Visualization Description-Content-Type: text/x-rst License-File: LICENSE.md +Requires-Dist: numpy>=1.8.0 +Requires-Dist: matplotlib>=2.0.0 +Requires-Dist: distro A program for calculating the mass of XAFS [X-ray Absorption Fine Structure] diff --git a/XAFSmass/XAFSmassQt.py b/XAFSmass/XAFSmassQt.py index e4fb55a..650cd0c 100644 --- a/XAFSmass/XAFSmassQt.py +++ b/XAFSmass/XAFSmassQt.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- __author__ = "Konstantin Klementiev, Roman Chernikov" -__date__ = "30 Nov 2023" +__date__ = "10 Oct 2024" import sys import os @@ -261,14 +261,12 @@ def __init__(self, parent=None): self.muTdLabel = QLabel("") self.muTdEdit = QLineEdit() - self.muTdEdit.setPlaceholderText('typ. 2.6') # font = QtGui.QFont(self.font()) # font.setPointSize(font.pointSize()+2) # fm = QtGui.QFontMetrics(font) # self.muTdEdit.setMinimumSize(fm.width("8.88"), fm.height()) self.areaLabel = QLabel("") self.areaEdit = QLineEdit() - self.areaEdit.setPlaceholderText('1.33 for \u230013mm ') # self.areaEdit.setMinimumSize(fm.width("8.88"), fm.height()) self.dmudLabel = QLabel(u"δµd = ") self.dmudEdit = QLineEdit() @@ -282,6 +280,7 @@ def __init__(self, parent=None): self.energyCB.currentIndexChanged.connect(self.energySelected) self.energy = 9029 self.energyCB.lineEdit().setText(str(self.energy)) + self.energyCB.setMaxVisibleItems(25) self.tableLabel = QLabel("f data table:") self.tableCB = QComboBox() @@ -490,22 +489,30 @@ def updateUi(self): self.areaLabel.setText(u"S (cm2) = ") self.resNuLabel.setText(u"ν (mmol) = ") self.resMassLabel.setText("m (mg) = ") + self.muTdEdit.setPlaceholderText('typ. 2.6') + self.areaEdit.setPlaceholderText('1.33 for \u230013mm ') self.resNuLabel.show() self.resNu.show() elif self.what == FOIL: self.areaLabel.setText(u"ρ (g/cm3) = ") self.resMassLabel.setText(u"d (µm) = ") + self.muTdEdit.setPlaceholderText('typ. 2.6') + self.areaEdit.setPlaceholderText('') self.resNuLabel.hide() self.resNu.hide() elif self.what == GAS: self.areaLabel.setText(u"d (cm) = ") self.resMassLabel.setText(u"p (mbar) = ") + self.muTdEdit.setPlaceholderText('(0, 1)') + self.areaEdit.setPlaceholderText('') self.resNuLabel.hide() self.resNu.hide() elif self.what == XCONTENT: self.areaLabel.setText(u"Δµd = ") self.resNuLabel.setText("Nx = ") self.resMassLabel.setText(r"wt%x = ") + self.muTdEdit.setPlaceholderText('') + self.areaEdit.setPlaceholderText('') self.resNuLabel.show() self.resNu.show() @@ -849,7 +856,7 @@ def isWin11():
  • {1[0]}
  • {1[1]} -

    Open source, {2}. Available at PyPI and GitHub

    +

    Open source, {2}. Available on PyPI and GitHub

    Your system:

    @@ -81,7 +80,7 @@

    X

    - + @@ -104,13 +103,13 @@

    Navigation

  • modules |
  • - + \ No newline at end of file diff --git a/XAFSmass/help/index.html b/XAFSmass/help/index.html index a79300c..36e5f5a 100644 --- a/XAFSmass/help/index.html +++ b/XAFSmass/help/index.html @@ -1,18 +1,17 @@ - - + - + - XAFSmass — XAFSmassQt 1.5.0 documentation - - + XAFSmass — XAFSmassQt 1.5.1 documentation + + - - - + + + @@ -28,7 +27,7 @@

    Navigation

  • modules |
  • - + @@ -39,22 +38,22 @@

    Navigation

    -

    XAFSmass

    +

    XAFSmass

    Release:
    -

    1.5.0 DOI

    +

    1.5.1 DOI

    Date:
    -

    Nov 30, 2023

    +

    Oct 10, 2024

    Authors:
    -

    Konstantin Klementiev (MAX IV Laboratory), Roman Chernikov (Canadian Light Source)

    +

    Konstantin Klementiev (MAX IV Laboratory), Roman Chernikov (NSLS-II)

    License:

    Open Source, MIT License

    -

    +

    @@ -68,19 +67,19 @@

    XAFSmass -

    Dependencies

    +

    Dependencies

    numpy, pyparsing and matplotlib are required. Qt must be provided by either PyQt4, PyQt5 or PySide.

    -

    Get XAFSmass

    +

    Get XAFSmass

    XAFSmass is available as source distribution from PyPI or Github. The distribution archive also includes documentation.

    -

    Installation

    +

    Installation

    Unzip the .zip file into a suitable directory and run python XAFSmassQt.py. On Windows, run pythonw XAFSmassQt.py or give it a .pyw extension to suppress the console window.

    @@ -88,14 +87,14 @@

    Installation -

    Citing XAFSmass

    +

    Citing XAFSmass

    Please cite XAFSmass as: K. Klementiev and R. Chernikov, “XAFSmass: a program for calculating the optimal mass of XAFS samples”, J. Phys.: Conf. Ser. 712 (2016) 012008, doi:10.1088/1742-6596/712/1/012008.

    -

    Theoretical references used

    +

    Theoretical references used

    The tabulated scattering factors are taken from Henke et al. (10 eV < E < 30 keV) [Henke], Brennan & Cowan (30 eV < E < 509 keV) [BrCo] and Chantler (11 eV < E < 405 keV) [Chantler].

    @@ -137,9 +136,9 @@

    Theoretical references used -

    Usage

    +

    Usage

    -

    Chemical formula parser

    +

    Chemical formula parser

    The parser understands chemical elements, optionally followed by atomic quantities or weight percentages. A group of atoms can be enclosed in parentheses and assigned a common quantity or wt%. Some examples are given @@ -150,7 +149,7 @@

    Chemical formula parser

    -

    Calculation of mass and absorption step for powder samples

    +

    Calculation of mass and absorption step for powder samples

    Note

    You typically do not need the calculated values at exactly the edge @@ -175,13 +174,13 @@

    Calculation of mass and absorption step for powder samples_images/SNtransm100.png

    -

    Calculation of thickness and absorption step for samples with known density

    +

    Calculation of thickness and absorption step for samples with known density

    Here you can calculate the thickness of the sample with known density (usually, a foil). Commercial foils are highly homogeneous in thickness, so that you may ignore large step jumps and pay attention to the total μd only.

    -

    Calculation of gas pressure for ionization chambers

    +

    Calculation of gas pressure for ionization chambers

    Caution

    For nitrogen, do not forget the 2: N2, not just N!

    @@ -198,9 +197,9 @@

    Calculation of gas pressure for ionization chambers

    -

    Calculation of an unknown elemental concentration

    +

    Calculation of an unknown elemental concentration

    -

    Case 1: You know the composition of the matrix

    +

    Case 1: You know the composition of the matrix

    You need an absorption spectrum taken without the sample (empty spectrum) but with the same state of the ionization chambers. You then subtract it from the spectrum of the sample, e.g. in VIPER, and get a real (i.e. not vertically @@ -209,7 +208,7 @@

    Case 1: You know the composition of the matrix

    -

    Case 2: You know the sample mass and area

    +

    Case 2: You know the sample mass and area

    Determine the edge jump (Δμd). For the pure element find such a value for μTd that the absorption step in the pull-down list be equal to your experimental Δμd. This will give you the mass of the element of interest. Just divide it by @@ -217,7 +216,7 @@

    Case 2: You know the sample mass and area

    -

    Finding the scattering factors f’’

    +

    Finding the scattering factors f’’

    If you need to know the scattering factor f’’ at different energies and/or its jump at an edge (Δf’’), XAFSmass provides a graphical tool for this.

    For example, you may need these values to determine the composition of a binary @@ -277,7 +276,7 @@

    This Page

    rel="nofollow">Show Source - + @@ -300,13 +299,13 @@

    Navigation

  • modules |
  • - + \ No newline at end of file diff --git a/XAFSmass/help/license.html b/XAFSmass/help/license.html index d509bba..7dedd61 100644 --- a/XAFSmass/help/license.html +++ b/XAFSmass/help/license.html @@ -1,18 +1,17 @@ - - + - + - The MIT License — XAFSmassQt 1.5.0 documentation - - + The MIT License — XAFSmassQt 1.5.1 documentation + + - - - + + + @@ -27,7 +26,7 @@

    Navigation

  • modules |
  • - + @@ -38,7 +37,7 @@

    Navigation

    -

    The MIT License

    +

    The MIT License

    Copyright (c) 2015 Konstantin Klementiev, Roman Chernikov

    Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal @@ -74,7 +73,7 @@

    This Page

    rel="nofollow">Show Source
    - + @@ -97,13 +96,13 @@

    Navigation

  • modules |
  • - + \ No newline at end of file diff --git a/XAFSmass/help/objects.inv b/XAFSmass/help/objects.inv index fd2dca7..28d356e 100644 --- a/XAFSmass/help/objects.inv +++ b/XAFSmass/help/objects.inv @@ -1,5 +1,5 @@ # Sphinx inventory version 2 # Project: XAFSmassQt -# Version: 1.5.0 +# Version: 1.5.1 # The remainder of this file is compressed using zlib. xڅ1 0wA*֥ Ttp#꿯zښRv;k2chTc!lu'hT@VH{e5[(?o )+߅jTB:sM'PqwgQC4dQbD`&(>M3~5TLzO,Md=n4ʤ'F \ No newline at end of file diff --git a/XAFSmass/help/py-modindex.html b/XAFSmass/help/py-modindex.html index baf649b..d50b063 100644 --- a/XAFSmass/help/py-modindex.html +++ b/XAFSmass/help/py-modindex.html @@ -1,17 +1,16 @@ - - + - Python Module Index — XAFSmassQt 1.5.0 documentation - - + Python Module Index — XAFSmassQt 1.5.1 documentation + + - - - + + + @@ -29,7 +28,7 @@

    Navigation

  • modules |
  • - + @@ -73,7 +72,7 @@

    Python Module Index

    - + @@ -96,13 +95,13 @@

    Navigation

  • modules |
  • - + \ No newline at end of file diff --git a/XAFSmass/help/search.html b/XAFSmass/help/search.html index 0025635..dc64543 100644 --- a/XAFSmass/help/search.html +++ b/XAFSmass/help/search.html @@ -1,26 +1,26 @@ - - + - Search — XAFSmassQt 1.5.0 documentation - - + Search — XAFSmassQt 1.5.1 documentation + + - - - + + + - - + + + @@ -67,10 +67,7 @@

    Search

    - -
    - -
    +
    @@ -95,13 +92,13 @@

    Navigation

  • modules |
  • - + \ No newline at end of file diff --git a/XAFSmass/help/searchindex.js b/XAFSmass/help/searchindex.js index fbdf750..b72554a 100644 --- a/XAFSmass/help/searchindex.js +++ b/XAFSmass/help/searchindex.js @@ -1 +1 @@ -Search.setIndex({"docnames": ["index", "license"], "filenames": ["index.rst", "license.rst"], "titles": ["XAFSmass", "The MIT License"], "terms": {"releas": 0, "4": 0, "date": 0, "jun": [], "06": [], "2023": 0, "author": [0, 1], "konstantin": [0, 1], "klementiev": [0, 1], "max": 0, "iv": 0, "laboratori": 0, "roman": [0, 1], "chernikov": [0, 1], "canadian": 0, "light": 0, "sourc": 0, "licens": 0, "open": 0, "mit": 0, "A": [0, 1], "program": 0, "xaf": 0, "x": 0, "rai": 0, "fine": 0, "structur": 0, "The": 0, "understand": 0, "parenthes": 0, "weight": 0, "percentag": 0, "also": 0, "nest": 0, "form": 0, "xafsmassqt": 0, "report": 0, "quantiti": 0, "togeth": 0, "expect": 0, "height": 0, "edg": 0, "numpi": 0, "pypars": 0, "matplotlib": 0, "ar": 0, "requir": 0, "qt": 0, "must": 0, "provid": [0, 1], "either": 0, "pyqt4": 0, "pyqt5": 0, "pysid": 0, "i": [0, 1], "avail": 0, "distribut": [0, 1], "from": [0, 1], "pypi": 0, "github": 0, "archiv": 0, "includ": [0, 1], "document": [0, 1], "unzip": 0, "zip": 0, "file": [0, 1], "suitabl": 0, "directori": 0, "run": 0, "python": 0, "py": 0, "On": 0, "window": 0, "pythonw": 0, "give": 0, "pyw": 0, "extens": 0, "suppress": 0, "consol": 0, "mai": 0, "want": 0, "setup": 0, "order": 0, "put": 0, "packag": 0, "standard": 0, "locat": 0, "pleas": 0, "k": 0, "r": 0, "optim": 0, "j": 0, "phy": 0, "conf": 0, "ser": 0, "712": 0, "2016": 0, "012008": 0, "doi": 0, "10": 0, "1088": 0, "1742": 0, "6596": 0, "tabul": 0, "taken": 0, "henk": 0, "et": 0, "al": 0, "ev": 0, "e": 0, "30": 0, "kev": 0, "brennan": 0, "cowan": 0, "509": 0, "brco": 0, "chantler": 0, "11": 0, "405": 0, "tabl": 0, "consid": 0, "onli": 0, "photoelectr": 0, "cross": 0, "section": 0, "can": 0, "option": 0, "have": 0, "total": 0, "thi": [0, 1], "enabl": 0, "select": 0, "data": 0, "nist": 0, "http": 0, "lbl": 0, "gov": 0, "optical_const": 0, "asf": 0, "html": 0, "b": 0, "l": 0, "m": 0, "gullikson": 0, "c": [0, 1], "davi": 0, "interact": 0, "photoabsorpt": 0, "transmiss": 0, "reflect": 0, "50": 0, "30000": 0, "z": 0, "92": 0, "atom": 0, "nuclear": 0, "54": 0, "1993": 0, "181": 0, "342": 0, "www": 0, "bmsc": 0, "washington": 0, "edu": 0, "period": 0, "ftp": 0, "ftpa": 0, "ap": 0, "anl": 0, "pub": 0, "section_cod": 0, "": 0, "p": 0, "suit": 0, "diffract": 0, "perform": 0, "varieti": 0, "materi": 0, "arbitrari": 0, "wavelength": 0, "rev": 0, "sci": 0, "instrum": 0, "63": 0, "1992": 0, "850": 0, "853": 0, "physic": 0, "physrefdata": 0, "ffast": 0, "text": 0, "cover": 0, "t": 0, "attenu": 0, "0": 0, "mev": 0, "chem": 0, "ref": 0, "24": 0, "1995": 0, "71": 0, "643": 0, "follow": [0, 1], "group": 0, "enclos": 0, "assign": 0, "common": 0, "wt": 0, "some": 0, "exampl": 0, "given": 0, "abov": [0, 1], "edit": 0, "line": 0, "For": 0, "cu": 0, "1zn": 0, "al2o3": 0, "10sio2": 0, "mean": 0, "zn": 0, "aluminosil": 0, "compos": 0, "alumina": 0, "silica": 0, "search": 0, "interest": 0, "typic": 0, "do": [0, 1], "need": 0, "valu": 0, "exactli": 0, "posit": 0, "rather": 0, "energi": 0, "somewher": 0, "list": 0, "offer": 0, "plu": 0, "free": [0, 1], "specifi": 0, "ani": [0, 1], "within": 0, "rang": 0, "most": 0, "applic": 0, "optic": 0, "\u03bcd": 0, "level": 0, "see": 0, "below": 0, "between": 0, "3": 0, "g": 0, "17": 0, "1st": 0, "2nd": 0, "42": 0, "howev": 0, "5": 0, "drop": 0, "down": 0, "recommend": 0, "reduc": 0, "avoid": 0, "potenti": 0, "effect": 0, "due": 0, "possibl": 0, "inhomogen": 0, "wafer": 0, "If": 0, "your": 0, "dilut": 0, "veri": 0, "low": 0, "try": 0, "make": 0, "thicker": 0, "hope": 0, "better": 0, "spectra": 0, "best": 0, "signal": 0, "nois": 0, "ratio": 0, "sens": 0, "measur": 0, "anoth": 0, "registr": 0, "techniqu": 0, "fluoresc": 0, "electron": 0, "yield": 0, "mode": 0, "here": 0, "usual": 0, "foil": 0, "commerci": 0, "highli": 0, "homogen": 0, "so": [0, 1], "ignor": 0, "larg": 0, "jump": 0, "pai": 0, "attent": 0, "nitrogen": 0, "forget": 0, "n2": 0, "just": 0, "n": 0, "start": 0, "ic": 0, "place": 0, "3rd": 0, "fraction": 0, "absorb": 0, "set": 0, "one": 0, "100": 0, "two": 0, "certain": 0, "found": 0, "figur": 0, "show": 0, "explor": 0, "mixtur": 0, "sever": 0, "gase": 0, "correspond": 0, "number": 0, "slider": 0, "appear": 0, "defin": 0, "partial": 0, "molar": 0, "each": 0, "updat": 0, "spectrum": 0, "without": [0, 1], "empti": 0, "same": 0, "state": 0, "subtract": 0, "viper": 0, "real": 0, "vertic": 0, "shift": 0, "coeffici": 0, "determin": 0, "\u03bctd": 0, "\u03b4\u03bcd": 0, "its": 0, "uncertainti": 0, "pure": 0, "pull": 0, "equal": 0, "experiment": 0, "divid": 0, "differ": 0, "\u03b4f": 0, "graphic": 0, "tool": 0, "binari": 0, "compound": 0, "proport": 0, "\u03bd": 0, "where": 0, "amount": 0, "resonantli": 0, "mole": 0, "henc": 0, "nu_a": 0, "nu_b": 0, "delta": 0, "mu": 0, "d": 0, "_a": 0, "_b": 0, "cdot": 0, "f_b": 0, "f_a": 0, "e_a": 0, "e_b": 0, "rm": 0, "_x": 0, "_": 0, "copyright": 1, "2015": 1, "permiss": 1, "herebi": 1, "grant": 1, "charg": 1, "person": 1, "obtain": 1, "copi": 1, "softwar": 1, "associ": 1, "deal": 1, "restrict": 1, "limit": 1, "right": 1, "us": 1, "modifi": 1, "merg": 1, "publish": 1, "sublicens": 1, "sell": 1, "permit": 1, "whom": 1, "furnish": 1, "subject": 1, "condit": 1, "notic": 1, "shall": 1, "all": 1, "substanti": 1, "portion": 1, "THE": 1, "AS": 1, "warranti": 1, "OF": 1, "kind": 1, "express": 1, "OR": 1, "impli": 1, "BUT": 1, "NOT": 1, "TO": 1, "merchant": 1, "fit": 1, "FOR": 1, "particular": 1, "purpos": 1, "AND": 1, "noninfring": 1, "IN": 1, "NO": 1, "event": 1, "holder": 1, "BE": 1, "liabl": 1, "claim": 1, "damag": 1, "other": 1, "liabil": 1, "whether": 1, "an": 1, "action": 1, "contract": 1, "tort": 1, "otherwis": 1, "aris": 1, "out": 1, "connect": 1, "WITH": 1, "nov": 0}, "objects": {"XAFSmass": [[0, 0, 0, "-", "__init__"]]}, "objtypes": {"0": "py:module"}, "objnames": {"0": ["py", "module", "Python module"]}, "titleterms": {"xafsmass": 0, "depend": 0, "get": 0, "instal": 0, "cite": 0, "theoret": 0, "refer": 0, "us": 0, "usag": 0, "chemic": 0, "formula": 0, "parser": 0, "calcul": 0, "mass": 0, "absorpt": 0, "step": 0, "powder": 0, "sampl": 0, "thick": 0, "known": 0, "densiti": 0, "ga": 0, "pressur": 0, "ioniz": 0, "chamber": 0, "an": 0, "unknown": 0, "element": 0, "concentr": 0, "case": 0, "1": 0, "you": 0, "know": 0, "composit": 0, "matrix": 0, "2": 0, "area": 0, "find": 0, "scatter": 0, "factor": 0, "f": 0, "The": 1, "mit": 1, "licens": 1}, "envversion": {"sphinx.domains.c": 2, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 8, "sphinx.domains.index": 1, "sphinx.domains.javascript": 2, "sphinx.domains.math": 2, "sphinx.domains.python": 3, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx": 57}, "alltitles": {"XAFSmass": [[0, "xafsmass"]], "Dependencies": [[0, "dependencies"]], "Get XAFSmass": [[0, "get-xafsmass"]], "Installation": [[0, "installation"]], "Citing XAFSmass": [[0, "citing-xafsmass"]], "Theoretical references used": [[0, "theoretical-references-used"]], "Usage": [[0, "usage"]], "Chemical formula parser": [[0, "chemical-formula-parser"]], "Calculation of mass and absorption step for powder samples": [[0, "calculation-of-mass-and-absorption-step-for-powder-samples"]], "Calculation of thickness and absorption step for samples with known density": [[0, "calculation-of-thickness-and-absorption-step-for-samples-with-known-density"]], "Calculation of gas pressure for ionization chambers": [[0, "calculation-of-gas-pressure-for-ionization-chambers"]], "Calculation of an unknown elemental concentration": [[0, "calculation-of-an-unknown-elemental-concentration"]], "Case 1: You know the composition of the matrix": [[0, "case-1-you-know-the-composition-of-the-matrix"]], "Case 2: You know the sample mass and area": [[0, "case-2-you-know-the-sample-mass-and-area"]], "Finding the scattering factors f\u2019\u2019": [[0, "finding-the-scattering-factors-f"]], "The MIT License": [[1, "the-mit-license"]]}, "indexentries": {"xafsmass.__init__": [[0, "module-XAFSmass.__init__"]], "module": [[0, "module-XAFSmass.__init__"]]}}) \ No newline at end of file +Search.setIndex({"alltitles": {"Calculation of an unknown elemental concentration": [[0, "calculation-of-an-unknown-elemental-concentration"]], "Calculation of gas pressure for ionization chambers": [[0, "calculation-of-gas-pressure-for-ionization-chambers"]], "Calculation of mass and absorption step for powder samples": [[0, "calculation-of-mass-and-absorption-step-for-powder-samples"]], "Calculation of thickness and absorption step for samples with known density": [[0, "calculation-of-thickness-and-absorption-step-for-samples-with-known-density"]], "Case 1: You know the composition of the matrix": [[0, "case-1-you-know-the-composition-of-the-matrix"]], "Case 2: You know the sample mass and area": [[0, "case-2-you-know-the-sample-mass-and-area"]], "Chemical formula parser": [[0, "chemical-formula-parser"]], "Citing XAFSmass": [[0, "citing-xafsmass"]], "Dependencies": [[0, "dependencies"]], "Finding the scattering factors f\u2019\u2019": [[0, "finding-the-scattering-factors-f"]], "Get XAFSmass": [[0, "get-xafsmass"]], "Installation": [[0, "installation"]], "The MIT License": [[1, "the-mit-license"]], "Theoretical references used": [[0, "theoretical-references-used"]], "Usage": [[0, "usage"]], "XAFSmass": [[0, "xafsmass"]]}, "docnames": ["index", "license"], "envversion": {"sphinx": 61, "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}, "filenames": ["index.rst", "license.rst"], "indexentries": {"module": [[0, "module-XAFSmass.__init__", false]], "xafsmass.__init__": [[0, "module-XAFSmass.__init__", false]]}, "objects": {"XAFSmass": [[0, 0, 0, "-", "__init__"]]}, "objnames": {"0": ["py", "module", "Python module"]}, "objtypes": {"0": "py:module"}, "terms": {"": 0, "0": 0, "012008": 0, "10": 0, "100": 0, "1088": 0, "10sio2": 0, "11": 0, "17": 0, "1742": 0, "181": 0, "1992": 0, "1993": 0, "1995": 0, "1st": 0, "1zn": 0, "2015": 1, "2016": 0, "2024": 0, "24": 0, "2nd": 0, "3": 0, "30": 0, "30000": 0, "342": 0, "3rd": 0, "4": 0, "405": 0, "42": 0, "5": 0, "50": 0, "509": 0, "54": 0, "63": 0, "643": 0, "6596": 0, "71": 0, "712": 0, "850": 0, "853": 0, "92": 0, "A": [0, 1], "AND": 1, "AS": 1, "BE": 1, "BUT": 1, "FOR": 1, "For": 0, "IN": 1, "If": 0, "NO": 1, "NOT": 1, "OF": 1, "OR": 1, "On": 0, "THE": 1, "TO": 1, "The": 0, "WITH": 1, "_": 0, "_a": 0, "_b": 0, "_x": 0, "abov": [0, 1], "absorb": 0, "action": 1, "al": 0, "al2o3": 0, "all": 1, "also": 0, "alumina": 0, "aluminosil": 0, "amount": 0, "an": 1, "ani": [0, 1], "anl": 0, "anoth": 0, "ap": 0, "appear": 0, "applic": 0, "ar": 0, "arbitrari": 0, "archiv": 0, "aris": 1, "asf": 0, "assign": 0, "associ": 1, "atom": 0, "attent": 0, "attenu": 0, "author": [0, 1], "avail": 0, "avoid": 0, "b": 0, "below": 0, "best": 0, "better": 0, "between": 0, "binari": 0, "bmsc": 0, "brco": 0, "brennan": 0, "c": [0, 1], "can": 0, "cdot": 0, "certain": 0, "chantler": 0, "charg": 1, "chem": 0, "chernikov": [0, 1], "claim": 1, "coeffici": 0, "commerci": 0, "common": 0, "compos": 0, "compound": 0, "condit": 1, "conf": 0, "connect": 1, "consid": 0, "consol": 0, "contract": 1, "copi": 1, "copyright": 1, "correspond": 0, "cover": 0, "cowan": 0, "cross": 0, "cu": 0, "d": 0, "damag": 1, "data": 0, "date": 0, "davi": 0, "deal": 1, "defin": 0, "delta": 0, "determin": 0, "differ": 0, "diffract": 0, "dilut": 0, "directori": 0, "distribut": [0, 1], "divid": 0, "do": [0, 1], "document": [0, 1], "doi": 0, "down": 0, "drop": 0, "due": 0, "e": 0, "e_a": 0, "e_b": 0, "each": 0, "edg": 0, "edit": 0, "edu": 0, "effect": 0, "either": 0, "electron": 0, "empti": 0, "enabl": 0, "enclos": 0, "energi": 0, "equal": 0, "et": 0, "ev": 0, "event": 1, "exactli": 0, "exampl": 0, "expect": 0, "experiment": 0, "explor": 0, "express": 1, "extens": 0, "f_a": 0, "f_b": 0, "ffast": 0, "figur": 0, "file": [0, 1], "fine": 0, "fit": 1, "fluoresc": 0, "foil": 0, "follow": [0, 1], "forget": 0, "form": 0, "found": 0, "fraction": 0, "free": [0, 1], "from": [0, 1], "ftp": 0, "ftpa": 0, "furnish": 1, "g": 0, "gase": 0, "github": 0, "give": 0, "given": 0, "gov": 0, "grant": 1, "graphic": 0, "group": 0, "gullikson": 0, "have": 0, "height": 0, "henc": 0, "henk": 0, "here": 0, "herebi": 1, "highli": 0, "holder": 1, "homogen": 0, "hope": 0, "howev": 0, "html": 0, "http": 0, "i": [0, 1], "ic": 0, "ignor": 0, "ii": 0, "impli": 1, "includ": [0, 1], "inhomogen": 0, "instrum": 0, "interact": 0, "interest": 0, "its": 0, "iv": 0, "j": 0, "jump": 0, "just": 0, "k": 0, "kev": 0, "kind": 1, "klementiev": [0, 1], "konstantin": [0, 1], "l": 0, "laboratori": 0, "larg": 0, "lbl": 0, "level": 0, "liabil": 1, "liabl": 1, "licens": 0, "limit": 1, "line": 0, "list": 0, "locat": 0, "low": 0, "m": 0, "mai": 0, "make": 0, "materi": 0, "matplotlib": 0, "max": 0, "mean": 0, "measur": 0, "merchant": 1, "merg": 1, "mev": 0, "mit": 0, "mixtur": 0, "mode": 0, "modifi": 1, "molar": 0, "mole": 0, "most": 0, "mu": 0, "must": 0, "n": 0, "n2": 0, "need": 0, "nest": 0, "nist": 0, "nitrogen": 0, "nois": 0, "noninfring": 1, "notic": 1, "nsl": 0, "nu_a": 0, "nu_b": 0, "nuclear": 0, "number": 0, "numpi": 0, "obtain": 1, "oct": 0, "offer": 0, "one": 0, "onli": 0, "open": 0, "optic": 0, "optical_const": 0, "optim": 0, "option": 0, "order": 0, "other": 1, "otherwis": 1, "out": 1, "p": 0, "packag": 0, "pai": 0, "parenthes": 0, "partial": 0, "particular": 1, "percentag": 0, "perform": 0, "period": 0, "permiss": 1, "permit": 1, "person": 1, "photoabsorpt": 0, "photoelectr": 0, "phy": 0, "physic": 0, "physrefdata": 0, "place": 0, "pleas": 0, "plu": 0, "portion": 1, "posit": 0, "possibl": 0, "potenti": 0, "program": 0, "proport": 0, "provid": [0, 1], "pub": 0, "publish": 1, "pull": 0, "pure": 0, "purpos": 1, "put": 0, "py": 0, "pypars": 0, "pypi": 0, "pyqt4": 0, "pyqt5": 0, "pysid": 0, "python": 0, "pythonw": 0, "pyw": 0, "qt": 0, "quantiti": 0, "r": 0, "rai": 0, "rang": 0, "rather": 0, "ratio": 0, "real": 0, "recommend": 0, "reduc": 0, "ref": 0, "reflect": 0, "registr": 0, "releas": 0, "report": 0, "requir": 0, "resonantli": 0, "restrict": 1, "rev": 0, "right": 1, "rm": 0, "roman": [0, 1], "run": 0, "same": 0, "sci": 0, "search": 0, "section": 0, "section_cod": 0, "see": 0, "select": 0, "sell": 1, "sens": 0, "ser": 0, "set": 0, "setup": 0, "sever": 0, "shall": 1, "shift": 0, "show": 0, "signal": 0, "silica": 0, "slider": 0, "so": [0, 1], "softwar": 1, "some": 0, "somewher": 0, "sourc": 0, "specifi": 0, "spectra": 0, "spectrum": 0, "standard": 0, "start": 0, "state": 0, "structur": 0, "subject": 1, "sublicens": 1, "substanti": 1, "subtract": 0, "suit": 0, "suitabl": 0, "suppress": 0, "t": 0, "tabl": 0, "tabul": 0, "taken": 0, "techniqu": 0, "text": 0, "thi": [0, 1], "thicker": 0, "togeth": 0, "tool": 0, "tort": 1, "total": 0, "transmiss": 0, "try": 0, "two": 0, "typic": 0, "uncertainti": 0, "understand": 0, "unzip": 0, "updat": 0, "us": 1, "usual": 0, "valu": 0, "varieti": 0, "veri": 0, "vertic": 0, "viper": 0, "wafer": 0, "want": 0, "warranti": 1, "washington": 0, "wavelength": 0, "weight": 0, "where": 0, "whether": 1, "whom": 1, "window": 0, "within": 0, "without": [0, 1], "wt": 0, "www": 0, "x": 0, "xaf": 0, "xafsmassqt": 0, "yield": 0, "your": 0, "z": 0, "zip": 0, "zn": 0, "\u03b4f": 0, "\u03b4\u03bcd": 0, "\u03bcd": 0, "\u03bctd": 0, "\u03bd": 0}, "titles": ["XAFSmass", "The MIT License"], "titleterms": {"1": 0, "2": 0, "The": 1, "absorpt": 0, "an": 0, "area": 0, "calcul": 0, "case": 0, "chamber": 0, "chemic": 0, "cite": 0, "composit": 0, "concentr": 0, "densiti": 0, "depend": 0, "element": 0, "f": 0, "factor": 0, "find": 0, "formula": 0, "ga": 0, "get": 0, "instal": 0, "ioniz": 0, "know": 0, "known": 0, "licens": 1, "mass": 0, "matrix": 0, "mit": 1, "parser": 0, "powder": 0, "pressur": 0, "refer": 0, "sampl": 0, "scatter": 0, "step": 0, "theoret": 0, "thick": 0, "unknown": 0, "us": 0, "usag": 0, "xafsmass": 0, "you": 0}}) \ No newline at end of file diff --git a/doc/conf.py b/doc/conf.py index 21fb04d..ce1d475 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -52,9 +52,9 @@ # built documents. # # The short X.Y version. -version = '1.5.0' +version = '1.5.1' # The full version, including alpha/beta/rc tags. -release = '1.5.0' +release = '1.5.1' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/doc/index.rst b/doc/index.rst index 0341061..29faad4 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -8,7 +8,7 @@ XAFSmass :Release: |version| |DOI| :Date: |today| -:Authors: Konstantin Klementiev (MAX IV Laboratory), Roman Chernikov (Canadian Light Source) +:Authors: Konstantin Klementiev (MAX IV Laboratory), Roman Chernikov (NSLS-II) :License: Open Source, :ref:`MIT License ` .. |DOI| image:: https://zenodo.org/badge/54989911.svg diff --git a/setup.py b/setup.py index 577d8f4..38d0c3c 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ setup( name='XAFSmass', - version='1.5.0', + version='1.5.1', description='A program for calculating the mass of XAFS samples. ' 'For synchrotron users.', long_description=long_description,

    Screenshot1