semvec/pypi-packages huggingface dataset:
spatiotemporal 1.0.1
Tools for spatial and temporal autocorrelation
License: MIT
Requires Python: >=3.6

# Spatiotemporal modeling tools for Python

This package provides tools for modeling and analyzing spatial and temporal
autocorrelation in Python.  It is based on the methods from the paper
[Functional brain networks reflect spatial and temporal
autocorrelation](https://www.nature.com/articles/s41593-023-01299-3).
Included are methods to compute the following statistics:

- Compute TA-Δ<sub>1</sub> (i.e. first-order temporal autocorrelation)
- Compute SA-λ and SA-∞ (i.e. measurements of spatial autocorrelation)
- Lin's concordance
- Fingerprinting performance, from [Finn et al (2015)](https://www.nature.com/articles/nn.4135)

It will also generate surrogate timeseries for the following:

- Spatiotemporal model from [Shinn et al (2023)](https://www.nature.com/articles/s41593-023-01299-3)
- Noiseless spatiotemporal model from [Shinn et al (2023)](https://www.nature.com/articles/s41593-023-01299-3)
- Zalesky matching model from [Zalesky et al (2012)](https://www.sciencedirect.com/science/article/abs/pii/S1053811912001784)
- Eigensurrogate model from [Shinn et al (2023)](https://www.nature.com/articles/s41593-023-01299-3)
- Phase scramble null model

[See complete documentation](https://spatiotemporal.readthedocs.io)

## Installation

To install:

    pip install spatiotemporal

Otherwise, download the package and do:

    python setup.py install --user

System requirements are:

- Numpy
- Scipy
- Pandas

## Citation

If you use this package for a paper, please cite: [Shinn et al (2023)](https://www.nature.com/articles/s41593-023-01299-3)

## Contact

Please report bugs to <https://github.com/mwshinn/spatiotemporal/issues>.  This
includes any problems with the documentation.  Pull Requests for bugs are
greatly appreciated.

This package is actively maintained.  However, it is feature complete, so no new
features will not be added.  This is intended to be a supplement for the paper,
not a general purpose package for all aspects of spatiotemporal data analysis.

For all other questions or comments, contact m.shinn@ucl.ac.uk.
tpng.py 0.2.5
A special file format for displaying images in the terminal.
License: MIT
Keywords: tpng.py

# tpng.py
## Description
The library has the ability to convert `image` to `string` for [rich](https://pypi.org/project/rich). 

**TPNG** - is a library for converting images into a colour-coded string. Mapping is implemented via the [rich](https://pypi.org/project/rich) library.

[More information...](https://github.com/romanin-rf/tpng.py)

## Installation
```
pip install --upgrade tpng.py
```

## Examples
```python
import tpng
from rich.console import Console

c = Console()
t = tpng.TPNG("image.png")

string = t.get_rich_string()

c.print(string)
```

<div id="header" align="center"><img src="https://romanin-rf.github.io/tpng.py/data/tpng_with_rich.gif" width="800"></div>

## Author
- Roman Slabicky
    - [Vkontakte](https://vk.com/romanin2)
    - [GitHub](https://github.com/romanin-rf)