semvec/pypi-packages huggingface dataset:
phdu 3.0.7
Automatically store/load data in a tidy, efficient way. Includes functions for data visualization and analysis.
Requires Python: >=3
Keywords: science, statistics, tidy, project organization, project, organization, path, storage

# PhD-utils

For people that have to compute and store a large variety of data and/or perform statistical inference.
Check the [tidypath and PhD-utils slides](https://github.com/medinajorge/PhD-utils/blob/master/tidypath_and_phdu.odp) for an overview.

## Keep your files tidy!

Don't spend time creating directories, deciding filenames, saving, loading, etc. Decorators `savefig` & `savedata` will do it for you with optimal compression. More info at the `tidypath` [repository](https://github.com/medinajorge/tidypath).

## Estimate confidence intervals
The module `phdu.resample` allows calls to the `resample` [R package](https://cran.r-project.org/web/packages/resample/resample.pdf).
- Provides CI and permutation tests.
- CIs can account narrowness bias, skewness and other errors in CI estimation, as indicated in the [article](https://arxiv.org/abs/1411.5279)
- Alternatively, use `phdu.stats.bootstrap` for numba-accelerated computation (does not call `resample`).

## Bootstrap-based power analysis.
Calculate the power for accepting H0 and estimate the needed sample size.
Function `power_analysis` in `phdu.stats.bootstrap` follows Efron-Tshibirani: An introduction to the bootstrap,  p. 381-384.

## Numba-accelerated permutation tests
Module `phdu.stats.tests.permutation`.
- Permutation tests for any statistic.
- Includes paired and block cases.

## Demo
- [tidypath and PhD-utils slides](https://github.com/medinajorge/PhD-utils/blob/master/tidypath_and_phdu.odp): instructions and use cases.
- [Example notebook](https://github.com/medinajorge/PhD-utils/blob/master/tests/Example.ipynb)

## Documentation
[Github pages](https://medinajorge.github.io/PhD-utils/phdu.html)

## Install
- For the R compatible installation first install R:

  ```conda install -c conda-forge r r-essentials r-base```

- Install with dependencies:

  ```pip install phdu[dependencies]```

  Where `dependencies` can be `base` (recommended), `all`, `r` (needed for `resample` to work), `statsmodels`, `matplotlib` or `plotly`.
astro-pyvista 0.4.3
Astronomical image processing
Requires Python: >=3.9

## pyvista

pyvista is a package for the inspection, reduction, and analysis
of astronomical data. It includes a native Python display tool, tv,
that is modeled after the original xvista display tool. 

Much of the package is under some level of development, but includes
modules for:

- image display (tv)
- image reduction (imred)
- spectral analysis (spectra) : tracing, wavelength calibration, fluxing
- observation planning (skycalc) : wrappers around astroplan
- exposure time calculation tools (etc) 
- stellar photometry (stars) : wrappers around photutils)
- image manipulation (image) : functions for basic image manipulation, including boxes
- image simulation (simulate)

Help can be found at https://pyvista.readthedocs.org

Some examples, in the form of jupyter notebooks, can be found
in the docs/notebooks subdirectory of the distribution, see
https://github.com/holtzmanjon/pyvista/tree/main/doc/notebooks

Questions, requests, etc. can  be directed to Jon Holtzman at
holtz@nmsu.edu
frame-stamp 0.1.12
Adding technical information to images using a template.
Requires Python: <3.13,>=3.9

# Frame Stamp

A tool for render technical information over image using template with render context

Quick example:

```python
from frame_stamp.stamp import FrameStamp

input_file = '...'
output_file = '...'
# template for stamping
template = {}
# render context
variables = {}
# frame stamp instance
fs = FrameStamp(input_file, template, variables)
# render
fs.render(save_path=output_file)
```

### Initialize dev env

```shell
poetry install
```

### Open UI

```shell
make run 
```

### TODO

- alignment for grid
- add templates in yaml and py format
- limit column with
- fit ceil content
- Gradient fill
- Template Designer UI