Metadata-Version: 1.2
Name: mt2
Version: 0.1.6
Summary: Stransverse mass computation as a numpy ufunc.
Home-page: https://github.com/tpgillam/mt2
Author: Thomas Gillam
Author-email: tpgillam@googlemail.com
License: MIT license
Description: ===
        mt2
        ===
        
        
        .. image:: https://img.shields.io/pypi/v/mt2.svg
                :target: https://pypi.python.org/pypi/mt2
        
        .. image:: https://travis-ci.org/tpgillam/mt2.svg?branch=master
                :target: https://travis-ci.org/github/tpgillam/mt2
        
        MT2, Asymmetric MT2, and the Stransverse Mass
        ---------------------------------------------
        
        This package may be used to evaluate MT2 in all its variants.
        
        Specifically, it provides a numpy ufunc interface to the bisection algorithm and C++ implementation of http://arxiv.org/abs/1411.4312.
        The variable MT2 itself is described in http://arxiv.org/abs/hep-ph/9906349.
        Related information may be found in papers relating to MT2 linked from https://www.hep.phy.cam.ac.uk/~lester/mt2/index.html.
        
        License
        -------
        
        Please cite:
        
        * http://arxiv.org/abs/hep-ph/9906349, if you use MT2 in an academic paper, and
        * http://arxiv.org/abs/1411.4312 if you use this particular calculator.
        
        
        Example Usage
        -------------
        
        Single calculation of MT2:  ::
        
            from mt2 import mt2
        
            pxA =   410
            pyA =    20
            mVisA = 100
            chiA =  100
        
            pxB =  -210
            pyB =  -300
            mVisB = 150
            chiB =  100
        
            pxMiss = -200
            pyMiss =  280
        
            val = mt2(mVisA, pxA, pyA, mVisB, pxB, pyB, pxMiss, pyMiss, chiA, chiB)
            print("Expected mT2 = 412.628.  Computed mT2 = ", val)
        
        An example using broadcasting:  ::
        
            to appear soon ....
        
        
        =======
        History
        =======
        
        0.1.5 (2021-02-10)
        ------------------
        
        * Migrate to preliminary v7 of C file
        * Disable copyright message printing on run
        * Move away from pybind11 in favour of raw numpy C API
        
        0.1.4 (2021-02-09)
        ------------------
        
        * Actually fix the build, maybe
        
        0.1.3 (2021-02-09)
        ------------------
        
        * Fix the build
        
        0.1.2 (2021-02-09)
        ------------------
        
        * Attempt C++ build
        
        0.1.1 (2021-02-09)
        ------------------
        
        * Trivial change to test updating package on PyPI.
        
        0.1.0 (2021-02-09)
        ------------------
        
        * First release on PyPI.
        
Keywords: mt2
Platform: UNKNOWN
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Python: >=3.5
