Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

FluorSeg

FlourSeg provides such and such and so and so. You might find it most useful for tasks involving <x> and also <y>. Typical usage often looks like this:

#!/usr/bin/env python

from fluorseg import liffile
from fluorseg import roifile

lif = liffile.LIFFile(path)

#show the path
print(lif.path)

#show the metadata xml object
print(lif.xml_root)

#show the number of images in the file
print(lif.img_count)

#show the number of layers in each zstack for each image
print(lif.z_stack_count)

#show the first image's, 2nd zstack layer
print(type(lif.combined_channel_images[0][1]))

#show the type first channel of the first image's 2nd z-stack layer - each data array is a numpy ndarray
# they are held in nested lists => [image index][z_stack index]
print(type(lif.channel_one_images[0][1]))

#plot the second channel of the first image's 1st z-stack layer [image index][z_stack index]
plt.imshow(lif.channel_two_images[0][0], interpolation='nearest')
plt.show()

#get the maximum projection of each images z-stack for each image
max_projs_channel_one = [liffile.max_proj(z_stacks) for z_stacks in lif.channel_one_images]
max_projs_channel_two = [liffile.max_proj(z_stacks) for z_stacks in lif.channel_two_images]

#plot the first max_proj
plt.imshow(max_projs_channel_one[0], interpolation='nearest')
plt.show()

plt.imshow(max_projs_channel_two[0], interpolation='nearest')
plt.show()

#get the region of interest info
roi_info = roifile.ROIFile(roi_zip_path) #roi for series 001 only

#make the mask for the second region of interest - a polygon
mask = make_polygon_mask(roi_info.rois[1], 512, 512)

#make the mask for the 5th region of interest - an ellipse
oval_mask = make_oval_mask(roi_info.rois[4], 512,512)

#just get the volume in a region of interest - masking done for you
series1_mp_c2 = max_projs_channel_two[0]
get_region_volume(series1_mp_c2, roi_info.rois[4])

(Note the double-colon and 4-space indent formatting above.)

Paragraphs are separated by blank lines. Italics, bold, and monospace look like this.

A Section

Lists look like this:

  • First

  • Second. Can be multiple lines but must be indented properly.

A Sub-Section

Numbered lists look like you’d expect:

  1. hi there

  2. must be going

Urls are http://like.this and links can be written like this.

Metadata

Release files for FluorSeg 0.0.26.dev0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for FluorSeg 0.0.26.dev0
File Size Uploaded Provenance Actions
FluorSeg-0.0.26.dev0.tar.gz 9.9 kB Without provenance Details for FluorSeg-0.0.26.dev0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for FluorSeg 0.0.26.dev0
File Interpreter ABI Platform Actions
FluorSeg-0.0.26.dev0-py3-none-any.whl Python 3 none any Details for FluorSeg-0.0.26.dev0-py3-none-any.whl

Total release size: 21.0 kB

Release files / FluorSeg-0.0.26.dev0.tar.gz

Download URL FluorSeg-0.0.26.dev0.tar.gz
Size 9.9 kB
Tags Source
SHA-256 checksum
How to use checksums
28fbf98684c450b7220432676e306d6dc72adf5f081b2926fa574252c218df70
BLAKE2b-256 checksum
How to use checksums
c942380e3ea21b434afbf2204eaea145d95dbc019a542f86099974f1717bf175
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.5.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.6.7

Release files / FluorSeg-0.0.26.dev0-py3-none-any.whl

Download URL FluorSeg-0.0.26.dev0-py3-none-any.whl
Size 11.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
123046a944ff71a64966b157e42dcff7b095cd3d819a24200349b7e28f375c9f
BLAKE2b-256 checksum
How to use checksums
7c19737f3df0c183aa6b809eeb92b36203894657d8c2b1714fd9146dd3a39e47
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.5.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.6.7

Security for FluorSeg 0.0.26.dev0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page