photon flux calculation
photon flux calculation from diode reading using:
- physical properties
- calibration of the diode
see also:
- ex: pindegy macros
- used on id16b to be done for id21
- http://wikiserv.esrf.fr/bliss/index.php/PIN_diode
- https://gitlab.esrf.fr/bliss/pindegy
--> cf WOUT calc from spectrocrunch https://gitlab.esrf.fr/denolf/id21fluxutils
cf also:
$ type fluxfromidet
fluxfromidet is a function
fluxfromidet ()
{
host=$(hostname);
if [[ $host == lid21data ]]; then
source /sware/exp/spectrocrunch/virtualenvs/spectrocrunch/ubuntu_20_04/py38/bin/activate;
python /data/id21/inhouse/wout/sota/fluxfromidet.py $@;
else
ssh opid21@lid21data "source /sware/exp/spectrocrunch/virtualenvs/spectrocrunch/ubuntu_20_04/py38/bin/activate;python /data/id21/inhouse/wout/sota/fluxfromidet.py" $@;
fi
}