EnSpec / hytools

Hyperspectral image processing library
GNU General Public License v3.0
54 stars 25 forks source link

Documentation of the Hytools PLSR model json format #4

Open serbinsh opened 3 years ago

serbinsh commented 3 years ago

Is there a format description for the json model files? I wasn't able to immediately find one and was interested in playing with fitting new models, saving in that format, and then trying the application function to new imagery. Thanks!

serbinsh commented 3 years ago

For example, I wanted to experiment with fitting a model like this: https://github.com/TESTgroup-BNL/spectratrait/blob/master/vignettes/neon_leafN_canopy_plsr_example.md

and then saving in the json format to apply to new AVIRIS-NG scenes. I can view the json files and infer but wanted to know if there were docs so I could build the format in my R code to output the json file.

serbinsh commented 3 years ago

Apologies, Ben Poulter just shared it with me in an email so you can disregard my request. though it could be helpful to put that info here as well

adamchlus commented 3 years ago

Hi Shawn, Sorry for the lack of documentation, we're slowly working on it. The PLSR formatting code can be found here, it has a bit more info than what I shared with Ben, if you have any questions let me know.