Skip to main content

No project description provided

Project description

FAIM Wako SearchFirst

DOI test PyPI - Version PyPI - Python Version


Table of Contents

Installation

pip install faim-wako-searchfirst

Usage

Configuration is managed in a config.yml file:

file_selection:
    channel: C01
segmentation:
    threshold: 128
    include_holes: yes
    min_size: 10
    max_size: 99999999999
    min_eccentricity: 0.0
    max_eccentricity: 0.4
bounding_box:
    min_x: 0
    min_y: 0
    max_x: 256
    max_y: 256
additional_analysis:
    enabled: yes
    target_channel: C03
    min_intensity: 128
output:
    type: grid
grid_sampling:
    mag_first_pass: 4
    mag_second_pass: 40
    overlap_percent: 0
    offset_grid_origin_percent: 50

The Python script called by Wako Automation Software needs to accept the acquisition folder folder_path as only parameter:

import typer as typer
from faim_wako_searchfirst.segment 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


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.2.0.tar.gz (11.4 kB view hashes)

Uploaded Source

Built Distribution

faim_wako_searchfirst-0.2.0-py3-none-any.whl (5.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page