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.6.0.tar.gz
(157.0 kB
view hashes)
Built Distribution
Close
Hashes for faim_wako_searchfirst-0.6.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 29c5595de1fd1712e8d022f75a6252a24deb9a193529167c80eed041e6b02807 |
|
MD5 | 0df9096e8151dbe464e70d5469fbe412 |
|
BLAKE2b-256 | af1331928e79e0133967097663f34d1a239fcbeb382cb184ee283a39a8a0d6b2 |
Close
Hashes for faim_wako_searchfirst-0.6.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 024964be1b8b72e6e3817e1365e677c354e0f9fb16ba145aa780d040c69c6af5 |
|
MD5 | a5a0f4edd23991d2ec27e9ef8741b291 |
|
BLAKE2b-256 | c2d3bacf6b90828cc2ecca4307d8cba4aa4fb7f69c0bd26b5f2efd0191732201 |