semvec/pypi-packages huggingface dataset:
plotmath 0.3.14
Automatically generates textbook graphs for mathematical functions.
Requires Python: >=3.7

# `plotmath`
`plotmath` is a Python package to automatically create textbook graphs of mathematical functions. 

## Basic examples

### Example 1

```python
import plotmath


def f(x):
    return x**2 - x - 2


fix, ax = plotmath.plot(
    functions=[f],
)

plotmath.savefig(
    dirname="../figures",
    fname="example_1.svg",
)

plotmath.show()
```

This will generate the following figure:

![figure 1](https://raw.githubusercontent.com/reneaas/plotmath/refs/heads/main/examples/figures/example_1.svg)

### Example 2

```python
import plotmath
import numpy as np


def f(x):
    return x**2 * np.cos(x)


fix, ax = plotmath.plot(
    functions=[f],
    xmin=-6,
    xmax=6,
    ymin=-12,
    ymax=12,
    xstep=1,
    ystep=2,
)

plotmath.savefig(
    dirname="../figures",
    fname="example_2.svg",
)

plotmath.show()
```

This will generate the following figure:

![figure 2](https://raw.githubusercontent.com/reneaas/plotmath/refs/heads/main/examples/figures/example_2.svg)

### Example 3

```python
import plotmath


def f(x):
    return x**2 - 4


def g(x):
    return x + 2


fix, ax = plotmath.plot(
    functions=[f, g],
    xmin=-6,
    xmax=6,
    ymin=-6,
    ymax=6,
)

plotmath.savefig(
    dirname="../figures",
    fname="example_3.svg",
)

plotmath.show()
```

This will generate the following figure:

![figure 3](https://raw.githubusercontent.com/reneaas/plotmath/refs/heads/main/examples/figures/example_3.svg)
enpt-enmapboxapp 1.0.2
A QGIS EnMAPBox plugin providing a GUI for the EnMAP processing tools (EnPT)
Requires Python: >=3.9
Keywords: enpt_enmapboxapp, EnMAP, EnMAP-Box, hyperspectral, remote sensing, satellite, processing chain

.. image:: https://git.gfz.de/EnMAP/GFZ_Tools_EnMAP_BOX/enpt_enmapboxapp/badges/main/pipeline.svg
        :target: https://git.gfz.de/EnMAP/GFZ_Tools_EnMAP_BOX/enpt_enmapboxapp/commits/main
.. image:: https://img.shields.io/pypi/v/enpt_enmapboxapp.svg
        :target: https://pypi.python.org/pypi/enpt_enmapboxapp
.. image:: https://img.shields.io/conda/vn/conda-forge/enpt_enmapboxapp.svg
        :target: https://anaconda.org/conda-forge/enpt_enmapboxapp
.. image:: https://git.gfz.de/EnMAP/GFZ_Tools_EnMAP_BOX/enpt_enmapboxapp/badges/main/coverage.svg
        :target: coverage_
.. image:: https://img.shields.io/static/v1?label=Documentation&message=GitLab%20Pages&color=orange
        :target: https://enmap.git-pages.gfz-potsdam.de/GFZ_Tools_EnMAP_BOX/enpt_enmapboxapp/doc/
.. image:: https://img.shields.io/pypi/l/enpt_enmapboxapp.svg
        :target: https://git.gfz.de/EnMAP/GFZ_Tools_EnMAP_BOX/enpt_enmapboxapp/blob/main/LICENSE
.. image:: https://img.shields.io/pypi/pyversions/enpt_enmapboxapp.svg
        :target: https://img.shields.io/pypi/pyversions/enpt_enmapboxapp.svg
.. image:: https://img.shields.io/pypi/dm/enpt_enmapboxapp.svg
        :target: https://pypi.python.org/pypi/enpt_enmapboxapp


================
enpt_enmapboxapp
================

A QGIS EnMAPBox plugin providing a GUI for the EnMAP processing tools (EnPT).

* Free software: GNU General Public License v3 or later (GPLv3+)
* Documentation: https://enmap.git-pages.gfz-potsdam.de/GFZ_Tools_EnMAP_BOX/enpt_enmapboxapp/doc/

See also the latest coverage_ report and the pytest_ HTML report.


How the GUI looks like
----------------------

.. image:: https://git.gfz.de/EnMAP/GFZ_Tools_EnMAP_BOX/enpt_enmapboxapp/raw/main/docs/images/screenshot_enpt_enmapboxapp_v1.0.0.png
    :width: 918 px
    :height: 673 px
    :scale: 80 %


Credits
-------
This software was developed within the context of the EnMAP project supported by the DLR Space Administration with
funds of the German Federal Ministry of Economic Affairs and Energy (on the basis of a decision by the German
Bundestag: 50 EE 1529) and contributions from DLR, GFZ and OHB System AG.

This package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.

.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage
.. _coverage: https://enmap.git-pages.gfz-potsdam.de/GFZ_Tools_EnMAP_BOX/enpt_enmapboxapp/coverage/
.. _pytest: https://enmap.git-pages.gfz-potsdam.de/GFZ_Tools_EnMAP_BOX/enpt_enmapboxapp/test_reports/report.html
TwoSampleHC 0.4.2
Higher Criticism two-sample tests for sparse signals
Requires Python: >=3.8
Keywords: higher-criticism, statistics, two-sample, sparse

TwoSampleHC
===========

Higher Criticism (HC) utilities for two-sample testing under sparsity. Provides:

- HC statistic variants (`HC`, `HCstar`, `HCjin`)
- Exact and randomized binomial p-values for feature-wise testing
- Convenience helpers to compute HC thresholds and DataFrame outputs

Install from a local build or PyPI:

    pip install TwoSampleHC

Basic usage:

    from TwoSampleHC import two_sample_test
    
    hc_score, hc_threshold = two_sample_test(
        smp1, smp2, data_type='counts', alt='two-sided', stbl=True, gamma=0.2
    )

Requirements: `numpy`, `pandas`, `scipy`.

See the source in `src/TwoSampleHC` for details and examples.