FAIM Wako SearchFirst
Table of Contents
Installation
pip install faim-wako-searchfirst
Usage
Configuration is managed in a config.yml file:
# Required
# criteria for file selection in case of multiple channels/slices per position
file_selection:
channel: C01
# choose method how to segment, filter, and sample the objects
process:
# segment methods: threshold, cellpose
segment: threshold
# filter methods: bounding_box, area, solidity, feature, border, intensity, dilate
filter: [bounding_box, area, solidity, feature, border, intensity, dilate]
# sample methods: centers, grid_overlap, dense_grid,
# object_centered_grid, region_centered_grid
sample: centers
# Each section below provides arguments to one of the methods set in 'process'.
# Config sections for methods not selected above will be ignored.
# segment
threshold:
threshold: 128
include_holes: true
gaussian_sigma: 0.0 # default: 0.0
# filter
bounding_box:
min_x: 64
min_y: 0
max_x: 256
max_y: 190
area:
min_area: 100
max_area: 10000
solidity:
min_solidity: 0.9
max_solidity: 1.0
feature:
feature: eccentricity
min_value: 0.0
max_value: 0.99
border:
margin: 5 # default: 0
intensity:
target_channel: C03
min_intensity: 128
dilate:
pixel_distance: 1.0
# sample
dense_grid:
binning_factor: 50 # default: 50
grid_overlap:
mag_first_pass: 4
mag_second_pass: 60
overlap_ratio: 0.05 # default: 0
object_centered_grid:
mag_first_pass: 4
mag_second_pass: 60
overlap_ratio: 0.05 # default: 0
region_centered_grid:
mag_first_pass: 4
mag_second_pass: 60
overlap_ratio: 0.05 # default: 0
The Python script called by Wako Automation Software needs to accept the acquisition folder folder_path as only parameter:
import typer
from faim_wako_searchfirst.main import run
def main(folder_path: str):
run(folder=folder_path, configfile="config.yml")
if __name__ == "__main__":
typer.run(main)
License
faim-wako-searchfirst is distributed under the terms of the MIT license.
Metadata
Release files for faim-wako-searchfirst 0.8.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| faim_wako_searchfirst-0.8.0.tar.gz | 158.5 kB | Without provenance | Details for faim_wako_searchfirst-0.8.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| faim_wako_searchfirst-0.8.0-py3-none-any.whl | Python 3 | none | any | Details for faim_wako_searchfirst-0.8.0-py3-none-any.whl |
Total release size: 168.4 kB
Release files / faim_wako_searchfirst-0.8.0.tar.gz
| Download URL | faim_wako_searchfirst-0.8.0.tar.gz |
|---|---|
| Size | 158.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d0d6300d8974c244ca6dd14de3bc9d47bbcf5a4099b3ee3585e877e647b2230d
|
|
BLAKE2b-256 checksum How to use checksums |
d3475aa6961b51e2279068fc5947dcce3d05dc36b33c390a652a8078ea4c3703
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Release files / faim_wako_searchfirst-0.8.0-py3-none-any.whl
| Download URL | faim_wako_searchfirst-0.8.0-py3-none-any.whl |
|---|---|
| Size | 9.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
18697fc3912441e6b3fad4acb1fd12850369386ae980366d445310820c7188cd
|
|
BLAKE2b-256 checksum How to use checksums |
996c74ed4b176c7dea3d02e28233db8b9e2abcec000482ec26ac6dfdbf6a53ee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Security for faim-wako-searchfirst 0.8.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.