Jamet's Kd processing code Python version

Default Seadas User d3bd9a75c0 MERIS MODIS SEAWIFS Python version OK il y a 7 ans
LOG_KdNeuralNetwork_test.c f6cca72b47 python OK il y a 7 ans
README.txt d3bd9a75c0 MERIS MODIS SEAWIFS Python version OK il y a 7 ans
README_python.txt d3bd9a75c0 MERIS MODIS SEAWIFS Python version OK il y a 7 ans
class_KdJamet.py d3bd9a75c0 MERIS MODIS SEAWIFS Python version OK il y a 7 ans
iop_Rrs_neuron.h d3bd9a75c0 MERIS MODIS SEAWIFS Python version OK il y a 7 ans
neuron_difKd1cc_22.h acc034bd92 first il y a 7 ans
neuron_difKd1cc_26.h acc034bd92 first il y a 7 ans
neuron_difKd1cc_6.h acc034bd92 first il y a 7 ans
neuron_difKd2cc_6x4.h acc034bd92 first il y a 7 ans
neuron_difKd2cc_7x5.h acc034bd92 first il y a 7 ans
neuron_difKd_1cc_22.c acc034bd92 first il y a 7 ans
neuron_difKd_1cc_26.c acc034bd92 first il y a 7 ans
neuron_difKd_1cc_6.c acc034bd92 first il y a 7 ans
neuron_difKd_2cc_6x4.c acc034bd92 first il y a 7 ans
neuron_difKd_2cc_7x5.c acc034bd92 first il y a 7 ans
neuron_kd_1cc.c acc034bd92 first il y a 7 ans
neuron_kd_2cc.c acc034bd92 first il y a 7 ans
neuron_kd_switch.c acc034bd92 first il y a 7 ans
neuron_kd_switch160715.c acc034bd92 first il y a 7 ans
neuron_kd_switch180515.c acc034bd92 first il y a 7 ans
neuron_kd_switch2.c acc034bd92 first il y a 7 ans
neuron_kd_switch3.c acc034bd92 first il y a 7 ans
neuron_switch.h acc034bd92 first il y a 7 ans
neuron_switch160715.h acc034bd92 first il y a 7 ans
neuron_switch180515.h acc034bd92 first il y a 7 ans
neuron_switch2.h acc034bd92 first il y a 7 ans
neuron_switch3.h acc034bd92 first il y a 7 ans
test_class_KdNN.py d3bd9a75c0 MERIS MODIS SEAWIFS Python version OK il y a 7 ans

README.txt


C coding version for Estimation of the diffuse attenuation coefficient Kd(lambda) with a neural network.

- LOG_KdNeuralNetwork_test.c
A small Test case application to validate neuron_kd_switch3.c functions. You can compile it using : comp_LOG_KdNeuralNetwork_test.sh
Must be launch with two arguments, this way :
$ LOG_KdNeuralNetwork_test LOG_KdNeuralNetwork_TestCase_Input.csv your_output.csv

Result are in your_output.csv, which may match LOG_KdNeuralNetwork_TestCase_Output.csv if everithing is OK!

- neuron_kd_switch3.c include three functions :
+ neuron_lect_LUTswitch3()
Read the LUTs used by rinf3_neuron_passe_avant() and rsup3_neuron_passe_avant
!!! path to the LUTs files are defined in neuron_switch3.h file, be sure to adapt them to your configuration !!!
+ float rinf3_neuron_passe_avant(float input[NE])
Compute Kd from Neural network weigths if [Rrs490/Rrs55 < .85]
input must be initialized with Rrs(443 490 510 555 670) and the Wave-length(nm) at which Kd had to be computed.
Kd is returned
+ float rsup3_neuron_passe_avant(float input[NE])
Compute Kd from Neural network weigths if [Rrs490/Rrs55 >= .85]
input must be initialized with Rrs(443 490 510 555) and the Wave-length(nm) at which Kd had to be computed.
Kd is returned