21e6d8d6a5452ca96cecb00f8a9083de14a947c4,plantcv/plantcv/hyperspectral/analyze_spectral.py,,analyze_spectral,#,11

Before Change



    // Identify smallest and largest wavelengths available to scale the x-axis
    min_wavelength = int(np.ceil(float(header_dict["wavelength"][0])))
    max_wavelength = int(np.ceil(float(header_dict["wavelength"][-1])))

    // Create lists with wavelengths in float format rather than as strings
    // and make a list of the frequencies since they are in an array

After Change


                                       y="Reflectance"))
                    + geom_line(color="purple")
                    + scale_x_continuous(
                    breaks=list(range(int(np.floor(min_wavelength)), int(np.ceil(max_wavelength)), 50)))
                    )

        analysis_img = fig_hist
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: danforthcenter/plantcv
Commit Name: 21e6d8d6a5452ca96cecb00f8a9083de14a947c4
Time: 2019-10-23
Author: haleyschuhl@gmail.com
File Name: plantcv/plantcv/hyperspectral/analyze_spectral.py
Class Name:
Method Name: analyze_spectral


Project Name: WheatonCS/Lexos
Commit Name: acadd6b044bc07cbfed6db0eb7c4af603a8ee460
Time: 2017-08-09
Author: darias0826@gmail.com
File Name: lexos/processors/prepare/cutter.py
Class Name:
Method Name: cut_list_with_overlap


Project Name: librosa/librosa
Commit Name: 4d78e7c936be168db70c65276915688a131ef193
Time: 2015-02-17
Author: brian.mcfee@nyu.edu
File Name: librosa/display.py
Class Name:
Method Name: __axis_chroma