Create nice images from Sensospot Array scans
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Holger Frey 79e493ebf3 test git integration 2 years ago
sensospot_grid changed default for 'scale' to 2 3 years ago
tests import of project template 4 years ago
.flake8 import of project template 4 years ago
.gitignore added example_data to gitignore 4 years ago
.pre-commit-config.yaml renamed project to sensospot_grid 4 years ago
CHANGES.md added lot of code documentation 4 years ago
CONTRIBUTING.md renamed project to sensospot_grid 4 years ago
LICENSE import of project template 4 years ago
Makefile renamed project to sensospot_grid 4 years ago
README.md changed default for 'scale' to 2 3 years ago
pyproject.toml test git integration 2 years ago
run.py renamed project to sensospot_grid 4 years ago
tox.ini renamed project to sensospot_grid 4 years ago

README.md

Sensospot Grid

Creating nice grid images from scans

Example:

> sensospot_grid /path/to/sensospot/raw/data/folder

Help:

> sensospot_grid --help
Usage: sensospot_grid [OPTIONS] SOURCE

command line interface to process a complete raw data directory

source: the raw data directory output: directory to store the cropped
images in wells: glob pattern for well matching exposures: glob pattern
for exposure id matching scale: scale factor for the output images crop:
create cropped images for each spot

Options:
-o, --output TEXT     Output directory name, defaults to new folder in
                        parent of source

-w, --wells TEXT      restrict to this wells, * = all  [default: *]
-e, --Exposures TEXT  restrict to this exposure ids, * = all  [default: *]
-s, --scale INTEGER   scale-up of images  [default: 2]
--crop                create cropped images of each spots  [default: False]
--help                Show this message and exit.

Development

To install the development version of Sensospot Images:

git clone https://github.com/holgi/sensospot_grid.git

# create a virtual environment and install all required dev dependencies
cd sensospot_grid
make devenv

To run the tests, use make tests or make coverage for a complete report.