semvec/pypi-packages huggingface dataset:
jaxlatt 0.0.4
Add your description here
Requires Python: >=3.12

<p align="center">
  <img src="docs/assets/logo-gh.png" alt="JaxLatt Logo" width="600"/>
</p>

[![image](https://img.shields.io/pypi/v/jaxlatt.svg)](https://pypi.python.org/pypi/jaxlatt)
[![image](https://img.shields.io/badge/arXiv-260X.0XXXX%20-red.svg)](https://arxiv.org/abs/260X.0XXXX)
[![image](http://img.shields.io/badge/license-MIT-blue.svg?style=flat)](https://github.com/rcalderonb6/JaxLatt/blob/main/LICENSE) 

`JaxLatt` is a high-performance lattice field theory simulation library built on JAX, designed for researchers in cosmology and high-energy physics. It provides efficient implementations of scalar and gauge field dynamics on discrete lattices, leveraging JAX's automatic differentiation and GPU acceleration capabilities.

## Example: Scalar Field Evolution in 2D

Let's consider the simple example of a 2D scalar field evolving under a double-well potential:

$\mathcal{L} = \frac{1}{2} \partial_\mu \varphi \partial^\mu \varphi - V(\varphi)$ , where $V(\varphi)= -\frac12\mu ^2 \varphi ^2 + \frac{\lambda}{4} \varphi ^4$

<p align="center">
  <!-- <img src="examples/animations/field_2d_evolution.gif" alt="2D Field Evolution" width="600"/> -->
  <img src="examples/animations/dark_phase_transition_field_higgs2d.gif" alt="2D Field Evolution" width="600"/>
</p>

This animation shows the evolution of a 2D scalar field undergoing a phase transition, visualized as a heatmap. The simulation captures domain formation and topological defects, demonstrating JaxLatt's capabilities in handling complex field dynamics efficiently.
betteria 0.1.2
A commandline tool to enhance PDFs from Internet Archive.
Requires Python: >=3.9.0

# betteria

[![PyPI version](https://badge.fury.io/py/betteria.svg)](https://badge.fury.io/py/betteria)

A commandline tool to enhance PDFs from Internet Archive.

## Installation

```bash
pip install betteria
```

## Usage

```bash
betteria --help
```

    usage: betteria [-h] --input INPUT [--output OUTPUT] [--dpi DPI] [--threshold THRESHOLD] [--block-size BLOCK_SIZE] [--c-val C_VAL] [--adaptive]
                    [--invert] [--quiet] [--jobs JOBS] [-v]

    Clean and compress a scanned PDF by whitening pages and saving as CCITT Group 4 TIFFs (via a manual page-by-page approach).

    options:
    -h, --help            show this help message and exit
    --input INPUT         Path to input PDF
    --output OUTPUT       Path to output PDF (default: <input-stem>-enhanced.pdf)
    --dpi DPI             DPI for rasterizing PDF pages (default: 150)
    --threshold THRESHOLD
                            Global threshold value (0-255)
    --block-size BLOCK_SIZE
                            Odd-sized neighborhood for adaptive thresholding (default: 31)
    --c-val C_VAL         Constant subtracted in adaptive thresholding (default: 15)
    --adaptive            Use adaptive thresholding instead of a global threshold (default: on)
    --invert              Invert pixels before thresholding (for light text on dark background, default: off)
    --quiet               Disable progress bars (default: show progress)
    --jobs JOBS           Parallel workers for rasterizing and whitening ('auto'/0 uses logical cores; use 1 to disable)
    --rasterizer RASTERIZER
                          Poppler rasterizer to use ('pdftoppm' or 'pdftocairo') (default: pdftocairo)
    -v, --version         show program's version number and exit