biorad1sc_reader
Python Package to read, parse, convert *.1sc files generated by Bio-Rad Quantity One software.
Documentation at: http://biorad1sc-reader.readthedocs.io/
An optional dependency: numpy. If present, image operations in biorad1sc_reader will run 4x to 5x faster.
Also installs the following command-line executables:
- bio1sc2tiff
converts *.1sc files to *.tif images. (type bio1sc2tiff --help)
- bio1scmeta
reports all metadata contained in each *.1sc file to a text file. (type bio1scmeta --help)
- bio1scread
reports details on a *.1sc file’s internal structure. (type bio1scread --help)
Current Status
“Alpha” quality software
API subject to change
No known problems in operation.
Reading Image Data OK
Saving Image from file to new TIFF file OK
Reader.save_img_as_tiff()
Reader.save_img_as_tiff_sc()
Reading all metadata OK
Reader.get_metadata()
Reader.get_metadata_compact()
Reading certain image Metadata from Data Block 7 OK
Reader.get_img_summary()
Includes:
Scanner Name: <Scanner Name>
Number of Pixels: (<img_size_x> x <img_size_y>)
Image Area: (<img_size_x> mm x <img_size_y> mm)
Scan Memory Size: <total_img_size> Kb
Old file name: <old_file_name>
New file name: <new_file_name>
<File Directory>
New Image Acquired
Save As…
Quantity One <Quantity One Version String>
python2 (lack of) support
I’m currently unwilling to support python2
If you’d like python2 support, it’s DIY. :)
Examples
# setup reader with input file
import bio1sc_reader
myreader = bio1sc_reader.Reader("my_biorad_file.1sc")
# get list/dict of all metadata in 1sc file
my_img_metadata = myreader.get_metadata()
# get a more succinct data structure of all metadata in 1sc file
my_img_metadata = myreader.get_metadata_compact()
# get a quick summary of some metadata about the image in the 1sc file
my_img_metadata = myreader.get_img_summary()
# Different options for writing image data out as a TIFF file
myreader.save_img_as_tif("unscaled_brightness.tif")
myreader.save_img_as_tif("unscaled_inverted_brightness.tif", invert=True)
myreader.save_img_as_tif_sc("scaled_brightness.tif")
myreader.save_img_as_tif_sc("scaled_brightness_more.tif", scale=0.8)
myreader.save_img_as_tif_sc("scaled_inverted_brightness.tif", invert=True)
File Format Documentation
Metadata
Release files for biorad1sc-reader 0.7.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| biorad1sc_reader-0.7.0.tar.gz | 30.4 kB | Without provenance | Details for biorad1sc_reader-0.7.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| biorad1sc_reader-0.7.0-py3-none-any.whl | Python 3 | none | any | Details for biorad1sc_reader-0.7.0-py3-none-any.whl |
Total release size: 63.0 kB
Release files / biorad1sc_reader-0.7.0.tar.gz
| Download URL | biorad1sc_reader-0.7.0.tar.gz |
|---|---|
| Size | 30.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5d68849c7a6c1d02e4ee7ad4e64bad7da87a42ad08c2c280b55b344503e10fee
|
|
BLAKE2b-256 checksum How to use checksums |
1d910034d1e7915347533c952bc4aa828cde303f6e1504cfa134b5f9f3d3d619
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.9.0
|
Release files / biorad1sc_reader-0.7.0-py3-none-any.whl
| Download URL | biorad1sc_reader-0.7.0-py3-none-any.whl |
|---|---|
| Size | 32.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4e4ebad34a3af57ef0880565659d82af994b7c5739c7e6e2c83eaf9393221a99
|
|
BLAKE2b-256 checksum How to use checksums |
fd0772e4b7e065a2dbad4556c49453f34060c480974da8bf29ae32a44e9ec700
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.9.0
|
Security for biorad1sc-reader 0.7.0
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.