Virtual Detector for Synchrotron Radiation