Skip to main content

GreenhouseEI Documentation

SD2019-Plant Phenotyping

Dependencies

  • numpy
  • opencv

Functionality

  1. info(plant_ID, date, path)
  • input: plant_ID, date, path
  • output: print types of images that are available
  • example: tools.info("JS39-65", "2018-04-11", "/Users/john/PycharmProjects/Library_SD/output")
  1. unzip(plant_ID, date, image_type, path):
  • input: plant_ID, date, image_type, path
  • output: the folder of images that match plant ID, date, and image type.
  • example: tools.unzip("JS39-65", "2018-04-11", "Nir", "/Users/john/PycharmProjects/Library_SD/output")
  1. preprocess(plant_ID, date, path):
  • input: plant_ID, date, path
  • output: numpy arrays of Hyperspectral images
  • example: tools.preprocess("JS39-65", "2018-04-11", "/Users/john/PycharmProjects/Library_SD/output")
  1. zip2np(plant_ID, date, path)
  • input: plant_ID, date, path
  • output: numpy arrays of Hyperspectral images from zip files.
  • example: tools.zip2np("JS39-65", "2018-04-11", "/Users/john/PycharmProjects/Library_SD/output")

Running the library

  1. Warnings
  • There are two types of dataset.
    1. The folder name of the old dataset contains "Schnable", such as "4-9-18_Schnable_49-281-JS39-65_2018-04-11_12-09-35_9968800.zip". The plant_ID of the old dataset should be in a format like "JS39-65", and the date should be in a format like "2018-04-11".
    2. The folder name of the new dataset is like "71-001-Sesame-D-1.zip". The plant_ID of the new dataset should be in a format like "71-001-Sesame-D-1", and the date should be in a format like "2019-07-03".
  • the possible image types are Hyp, Nir, Vis, Fluo, IR
  • Hyperspectral images should be reconstructed first, before running the "preprocess" to produce the numpy array
  1. import the module as a Python package
  • from greenhouseEI import tools
  • tools.info([plant_ID], [date], [path])
  • tools.unzip([plant name], [date], [image type], [path])
  • tools.preprocess([plant name], [date], [path])
  • tools.zip2np([plant name], [date], [path])
  1. running the module in terminal
  • python3 -m greenhouseEI.tools info -n JS39-65 -d 2018-04-11 -p /Users/john/PycharmProjects/Library_SD/output
  • python3 -m greenhouseEI.tools unzip -n JS39-65 -d 2018-04-11 -t Hyp -p /Users/john/PycharmProjects/Library_SD/output
  • python3 -m greenhouseEI.tools preprocess -n JS39-65 -d 2018-04-11 -p /Users/john/PycharmProjects/Library_SD
  • python3 -m greenhouseEI.tools zip2np -n JS39-65 -d 2018-04-11 -p /Users/john/PycharmProjects/Library_SD/output

Metadata

Release files for GreenHouseEI 1.4

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

Source distribution (sdist)

Source distribution for GreenHouseEI 1.4
File Size Uploaded Provenance Actions
GreenHouseEI-1.4.tar.gz 3.9 kB Without provenance Details for GreenHouseEI-1.4.tar.gz

Release files / GreenHouseEI-1.4.tar.gz

Download URL GreenHouseEI-1.4.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
e0e6f43d5c3b4b5bf74e171b955bec5fdf4f2c08ea4d2f225dee8e943a6c44b0
BLAKE2b-256 checksum
How to use checksums
756ca3c1fb462d4263c8d492a7441c7184ac10d2606459dbc7a0557226799859
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/45.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.6.4

Security for GreenHouseEI 1.4

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.

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