No project description provided
Project description
FAIM Wako SearchFirst
Table of Contents
Installation
pip install faim-wako-searchfirst
Usage
Configuration is managed in a config.yml
file:
# Required
file_selection: # criteria for file selection in case of multiple channels/slices per position
channel: C01
process: # choose method how to segment, filter, and sample the objects
segment: threshold # choices: threshold, cellpose
filter: [bounding_box, area, solidity, intensity]
sample: centers # choices: centers, grid_overlap, dense_grid
# Each subsequent section provides arguments to one of the methods defined in 'process'
threshold:
threshold: 128
include_holes: yes
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
intensity:
target_channel: C03
min_intensity: 128
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for faim_wako_searchfirst-0.3.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb5fcfb191a8eeae7f66d1de33d9b07fb2ba834d69638d9462362a6e9f076b2d |
|
MD5 | c048969d641ace4932aaf7158ccc0ec1 |
|
BLAKE2b-256 | 3309925ea68ac4c3a523b5979a1300c0befa61d591b96dd99a919612791cb8aa |
Close
Hashes for faim_wako_searchfirst-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4bb491b6ba3da898e84c637172d73ef7c2db2ce9a6437a4e98951b7c63953089 |
|
MD5 | cfd224929f1447006a5bbdc6af2722d4 |
|
BLAKE2b-256 | 4ce8c814a1b9b11f2f3136e9641722d307ab24bb40fd75a9288518537228635a |