function [y_screen,y_Energy]=LBG_LFOV_EnergyAxis_0501(BendSetPoint)


DeltaY=324; % mm from table to infinity axis 
PixelOfTop=120;
DetlaY=321.5640; % mm
TopOfDetector_In_mm=271; % This is 3 cm off my measurement... wow I suck with the tape measure...
CameraResolution=51.73 ; %um/px
d_nom=-59.28; % mm


yPx=[1:2040];
y_screen=TopOfDetector_In_mm-(yPx-PixelOfTop)*CameraResolution*10^-3;
y_Energy=d_nom*BendSetPoint./(y_screen-DeltaY);

% figure
% plot(Energy,y_screen)
% enhance_plot
end