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
gaussian_sigma: 2.0 # optional
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
faim_wako_searchfirst-0.5.0.tar.gz
(153.8 kB
view hashes)
Built Distribution
Close
Hashes for faim_wako_searchfirst-0.5.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5259dd8fa35fe73fad8c007f102e72c1614e7c898d726e6024a88ae48c5b7515 |
|
MD5 | 67bf33f8af8762a0d3056fbdbde02613 |
|
BLAKE2b-256 | 99c0c6f80d6f111b9ee4b66152b04bb0888465ce711ad7d961b923d8b485bab7 |
Close
Hashes for faim_wako_searchfirst-0.5.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cba4b848390cd2360fa9d20aed3be1ef1df266389d48c285131b0131fcf3635a |
|
MD5 | 32e807f43c339a24f0034419b8415346 |
|
BLAKE2b-256 | 21937194edd4eccd859e0f9da837af0fbacf49f9050c5f65d6dd0c5582650023 |