README.txt 1.2 KB

12345678910111213141516171819202122
  1. C coding version for Estimation of the diffuse attenuation coefficient Kd(lambda) with a neural network.
  2. - LOG_KdNeuralNetwork_test.c
  3. A small Test case application to validate neuron_kd_switch3.c functions. You can compile it using : comp_LOG_KdNeuralNetwork_test.sh
  4. Must be launch with two arguments, this way :
  5. $ LOG_KdNeuralNetwork_test LOG_KdNeuralNetwork_TestCase_Input.csv your_output.csv
  6. Result are in your_output.csv, which may match LOG_KdNeuralNetwork_TestCase_Output.csv if everithing is OK!
  7. - neuron_kd_switch3.c include three functions :
  8. + neuron_lect_LUTswitch3()
  9. Read the LUTs used by rinf3_neuron_passe_avant() and rsup3_neuron_passe_avant
  10. !!! path to the LUTs files are defined in neuron_switch3.h file, be sure to adapt them to your configuration !!!
  11. + float rinf3_neuron_passe_avant(float input[NE])
  12. Compute Kd from Neural network weigths if [Rrs490/Rrs55 < .85]
  13. input must be initialized with Rrs(443 490 510 555 670) and the Wave-length(nm) at which Kd had to be computed.
  14. Kd is returned
  15. + float rsup3_neuron_passe_avant(float input[NE])
  16. Compute Kd from Neural network weigths if [Rrs490/Rrs55 >= .85]
  17. input must be initialized with Rrs(443 490 510 555) and the Wave-length(nm) at which Kd had to be computed.
  18. Kd is returned