semvec/pypi-packages huggingface dataset:
reva-coregistration 1.0.1
A Python package for image coregistration and coordinate transformation
Requires Python: >=3.8
Keywords: coregistration, image-processing, coordinate-transformation, medical-imaging

# Reva Coregistration

A Python package for image coregistration and coordinate transformation, specifically designed for medical imaging applications.

## Features

- **Image Coregistration**: Align images using landmark-based transformations
- **Coordinate Transformation**: Convert coordinates between different image spaces
- **Non-linear Warping**: Apply advanced warping techniques for precise alignment
- **Slice Management**: Handle multi-slice image data
- **Tile Processing**: Efficient processing of large images using tiling

## Installation

```bash
pip install reva-coregistration
```

## Quick Start

```python
from reva_coregistration import get_associated_coordinates

# Define landmarks for coregistration
landmarks = [
    {"target": {"x": 100, "y": 200}, "source": {"x": 150, "y": 250}},
    {"target": {"x": 300, "y": 400}, "source": {"x": 350, "y": 450}},
    # ... more landmark pairs
]

# Get associated coordinates
coordinates = get_associated_coordinates(
    x_percentage=0.5,
    y_percentage=0.3,
    source_image_width=1024,
    source_image_height=768,
    source_is_photograph=True,
    target_image_width=2048,
    target_image_height=1536,
    apply_nonlinear_warping=True,
    landmarks=landmarks
)

print(coordinates)
```

## Documentation

For detailed documentation, please visit the [project repository](https://github.com/yourusername/reva-coregistration).

## Development

To set up the development environment:

```bash
git clone https://github.com/yourusername/reva-coregistration.git
cd reva-coregistration
pip install -e ".[dev]"
```

Run tests:
```bash
pytest
```

## License

This project is licensed under the MIT License - see the LICENSE file for details.

## Contributing

Contributions are welcome! Please feel free to submit a Pull Request.
iuv 0.1.1
Reruns uv foo/bar.py if files in foo/../... change.
Requires Python: >=3.8

# iuv

Tiny wrapper that watches the current directory and reruns a Python target with `uv run` whenever files change.

[![CI](https://github.com/gueraf/iuv/actions/workflows/ci.yml/badge.svg)](https://github.com/gueraf/iuv/actions/workflows/ci.yml)

## Install

From PyPI via pipx: [https://pypi.org/project/iuv/](https://pypi.org/project/iuv/)
```bash
pipx install iuv
```

Persistent install with uv from head:
```
uv tool install git+https://github.com/gueraf/iuv.git
```

Local checkout + script (also installs uv if missing):
```
git clone https://github.com/gueraf/iuv.git
cd iuv
./install.sh
```

## Usage
From inside your project directory:
```
iuv run app.py
```
Or module mode:
```
iuv run -m package.module
```
Pass any additional args after the script/module:
```
iuv run script.py --flag value
```

On each relevant file change (excluding `.git`, `.venv`, `__pycache__`) the previous run finishes (not force killed) and the command is invoked again.

## Behavior
- Watches recursively from cwd
- Debounce default: 150ms (change with `--debounce 300`)
- Prints a short line when rerunning
- Errors just print; watcher keeps going
- Press `Enter` to manually trigger a rerun.

## Examples
```
iuv run main.py
iuv run -m mypkg.cli --help
iuv run examples/demo.py --foo bar
```

## Exit
Press `Ctrl+C` once to pause. From there, you can press `Enter` to rerun, or `Ctrl+C` again to exit.

## License
[MIT](https://github.com/gueraf/iuv/blob/main/LICENSE)