Real-time swept source OCT data is most often sampled using a specially cut hardware k-clock. The present invention involves mathematically resampling signals within an FPGA-based data acquisition board based on data sampled from a wide free spectral range reference interferometer. The FPGA can then multiply up the reference clock rate to achieve greater imaging depth. The Nyquist fold-over depth can thus be programmed from a standard reference to an arbitrary depth, much as PLL frequency synthesizer can produce many frequencies from a standard stable reference. The system is also capable of real-time performance.