Skip to main content

A GUI for AI segmentation of cell imagery.

Reason this release was yanked:

bug with folder selection

Project description

Welcome to PWS_AI


This code is ready for a soft release. The user now has ability to input their analysis name as well as their thresholding value. Preview of results can be done via PWSPY software. For any questions or bug suggestions please slack me - Nico

Tutorial

As it stands, you will go through 5 main steps.

Step 0) Run analysis on dataset of interest, that means running it on the pws analysis software as is normally done

Step 1) Select folder with cell data where you just ran your analysis (same way its done on the pwspy software)

Step 2) Access rms images from analysis. This is done automatically when you click the button "Get RMS Images" after entering the analysis name (e.g p0)

Step 3) Use PWS_AI to generate the ROIs automatically and save them as TIF File in Corresponding Folder after entering the desired threshold value, default is 0.6

Step 4) Conver the PWS_AI output into the pwspy compatible format. Done by clicking "Push ROI TO PWSPY"

Once this is done you can go to the pws analysis software where you can now use the AI generated ROIs. This is a beta version and not ready for release but thank you for testing it out!

Installation instructions

The gui is now available throuogh PyPi so you can install it as you would any python package. Please follow stepes below or see Guide folder for more guidance. The follownig steps assume you already have python on your machine, and you should if you do PWS analysis.

  1. Create a Python environment using conda create --name desired_name_here python==3.8
  2. Once python environment has been created install pwsAI by pip install pwsAI

If this does not work, please reach out to me and I can send you further instructions on how to install directly from wheel file.

Building (For dev purpoes)

PIP can be used to build a "wheel" for distribution by navigating to the root directory (where "setup.py" is located) and running python -m build. The produced files will be placed into the "dist" folder. You can distribute the .whl file yourself and install using PIP or you can upload the .whl to the PyPi repository online for easy download access (pip install pwsAI). To upload to PyPi you will need "twine" (pip install twine) and you will need to configure twine with the proper credentials to log into your PyPi account. Then upload with python -m twine upload ./dist/*.

Once pwsAI has been installed you can run the GUI either by running python -m pwsAI or by using the PwsAiGui alias.

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

pwsai-0.1.2.1.tar.gz (7.3 MB view details)

Uploaded Source

Built Distribution

pwsAI-0.1.2.1-py3-none-any.whl (7.3 MB view details)

Uploaded Python 3

File details

Details for the file pwsai-0.1.2.1.tar.gz.

File metadata

  • Download URL: pwsai-0.1.2.1.tar.gz
  • Upload date:
  • Size: 7.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.8.0

File hashes

Hashes for pwsai-0.1.2.1.tar.gz
Algorithm Hash digest
SHA256 bbf2922c9989b998b836a33793a4158869c41f8d9476a377e945a96b83e31b93
MD5 2059b68f0ef78356115a8a7e40a4ed05
BLAKE2b-256 206f6120e753b66cdaf572eaeda38f00cb192edb8d678517f6efa8821c32a79d

See more details on using hashes here.

File details

Details for the file pwsAI-0.1.2.1-py3-none-any.whl.

File metadata

  • Download URL: pwsAI-0.1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 7.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.8.0

File hashes

Hashes for pwsAI-0.1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 237b06b3aa62a1f1dd80ee73f8f8e8e5122dc0af510eef2e6c4d2939d7b1ff08
MD5 4ac91d02f72d161a3a3714c40215835e
BLAKE2b-256 9ef83d2c42b4143e543d707cc3de9325a220944d5e6e481052adc8ebb742c657

See more details on using hashes here.

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