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.4.0.tar.gz
(153.7 kB
view hashes)
Built Distribution
Close
Hashes for faim_wako_searchfirst-0.4.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e165cbe8222643ce23fbd37a76471d672340adda8e7f68c05728a14774da7530 |
|
MD5 | eff1a72b082c19ec6eca14f0810a7233 |
|
BLAKE2b-256 | f322456f91e48731bb1d846928e180f7b90799e82fb572a3f1f488a0582e7ad6 |
Close
Hashes for faim_wako_searchfirst-0.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f15d1db17435ac63aeb850e362fd8cdd9afee9ea7ced093e5ab70c48e1d6a6ca |
|
MD5 | e4a9dd6bb9376c7a5406ebd7dae7d856 |
|
BLAKE2b-256 | b13276d92f8637363d43febcec7223c84dd8a7c1453639736f75581d51e99881 |