a first preferred embodiment of the present invention can be described by reference to fig1 through 5 . this preferred embodiment presents a ring opo shown in fig1 which incorporates two crystals of a crystal unit mounted side by side on a crystal rotation stage . the optical layout is shown in fig2 . examples of ring oscillators are described in u . s . pat . no . 5 , 276 , 548 and patent applications ser . nos . 14 / 121 , 438 and 14 / 545 , 504 , these examples are incorporated herein by reference . the preferred embodiment includes a voice coil control unit to provide very rapid control of the output frequency of the opo . fig4 is a prospective drawing of the voice coil control unit showing how the crystal rotation stage of the opo is rotated a few degrees about an axis of the crystal rotation stage . the crystal rotation stage has two aligned crystal shafts 4 that serve to rotate the crystal unit about the axis 7 . the crystal shafts 4 are preferably inserted into bearings ( not shown ) to provide smooth rotation motion . the crystal rotation stage incorporates a lever arm 3 . the components of the voice coil include coil 6 , coil shaft 1 that is attached to a magnet 8 , and a linear encoder 13 . when a current is applied to the coil , the magnet with the attached coil shaft will move along a linear translation stage ( not shown ) back and forth in accordance with the applied current , while the position of the shaft is monitored by encoder 13 . the shaft is connected to the rotation stage lever arm 3 with a spring ( not shown ) that allows rotation of the stage with respect to the axis 7 with minimal force . ( a hinge or magnetic element may be substituted for the spring .) as the magnet extends and retracts , the lever is pushed or pulled by the shaft and the crystals angle with respect to the laser beam 11 ( as shown in fig3 and 4 ) changes accordingly . a motion controller with closed - loop feedback provides the means to precisely control the position of the shaft and therefore , the angle between optical axis of the opo crystals 15 and the laser beam 11 . the user inputs the desired wavelengths ( or array of positions ) to which the opo is to be tuned . the motion controller ( model dmc - 30012 ) available from galil , inc . with offices in rocklin , calif .) stores these positions in its memory . with each pulse of the laser , in preferred embodiments , the voice coil is moved to the next position ( to change the output beam to a different wavelength ). with each laser pulse , a trigger is sent from the laser to the motion controller to start the motion of the voice coil to the next position ( or wavelength ) in the array . the timing of the trigger relative to the laser pulse is preferably set such that the motion of the voice coil is finished before the laser pulse is fired . the signal from the linear encoder gives the feedback necessary to maintain accurate positioning . the voice coil , linear encoder , and motion controller constitute a typical servo system . the performance of the system ( i . e ., how fast the opo tunes and settles at a new wavelength ) depends on careful selection and adjustment of the parameters of the system , the total mass of the moving parts , and the coefficients the proportional integral controller ( pid ) control loop of the motion controller . a block diagram illustrating the operating principle is shown in fig6 . the entire mechanism of the preferred embodiment is very small and measures about 4 . 2 × 3 . 9 cm as shown in fig3 and 4 . the encoder resolution is 0 . 1 micron , and the distance between the rotation stage axis and the axis of the magnetic shaft is about 3 cm . therefore , a 1 micron motion of the shaft results in a rotation angle of 33 microradians , or 0 . 002 degrees , which translates to 500 points in 1 degree . this is significantly higher resolution than is required to precisely control the output wavelength of the most demanding opo . in example , an opo pumped at 532 nm with a type i crystal , as used for typical photo - acoustic applications , the total angle required to cover the entire spectral range of 680 to 980 nm is about 3 degrees . the mechanism presented in this preferred embodiment can provide 1500 points for the 3 degrees of motion which corresponds to a resolution of 0 . 2 nanometer of the opo wavelength . this corresponds to a resolution accuracy of about 0 . 24 percent . most other opos have much wider tuning angles , and therefore , the resolution for these opos will be even higher . the voice coil selected in for this preferred embodiment ( h2w model vcs02 - 001 - cr - 001 - mc ) has a stroke of about 5 mm , and setting time of better than 50 milliseconds . therefore it can be commanded to reach any angle , or opo wavelength within the tuning range of the above type of opo in less than 50 milliseconds . longer strokes , and / or shorter settling times can be achieved by selecting different voice coil and controller parameters . the applicants have built a prototype based on the preferred embodiment components and demonstrated switching the opo wavelength to any wavelength in the range of 680 nm to 980 nm , every pulse , for a system that operated at 20 hz . the sequence of consecutive wavelengths can be chosen to meet any desired requirements with no limitation on the wavelength spacing between the pulses . the mechanism was integrated with a ring oscillator opo based on the design generally described in u . s . pat . no . 5 , 276 , 548 . the ring oscillator opo is presented schematically in fig1 and 2 . a pump beam 34 is reflected into the opo cavity by a beam splitter 32 . the pump beam passes through the two non linear crystals 15 and is reflected out of the cavity by the same beam splitter 32 . the opo beam , generated in the crystals , follows the same direction as the pump beam and rotates ( counterclockwise in the drawing ) between the two right angle prisms 31 that form the oscillator . the prisms reflect all the opo wavelengths by total internal reflection . the output beam of the opo is reflected out of the cavity by the backside of the beam splitter 32 that serves as the output coupler . the assembly of this opo with the fast tuning mechanism is presented in fig3 and 5 . the two crystals 15 are mounted side by side on a holder 16 , which is supported by two bearings 36 on each side . the holder 16 serves as a rotation stage allowing control of the angle between the optical axis of the opo crystals and the pump beam . the crystal holder has a lever 3 , which is pushed or pulled by the voice coil shaft 1 as shown in fig3 and fig1 . in the prototype the opo was pumped at 532 nm and was operated in the wavelength range of 680 - 970 nm . the laser was pulsed at 20 hz and the output wavelength of each opo pulse was monitored with a spectrograph in real time . a set of 5 wavelengths in the range was preset in the control computer and the opo was commanded to switch between these wavelengths at every other pulse . it was demonstrated that the opo tuned in the 50 ms time interval between the pulses to any wavelength with excellent accuracy and reproducibility . the sequence of consecutive wavelengths can be chosen to meet any desired requirements with no limitation on the wavelength spacing between the pulses . fig7 shows the results of the first spectrometer test of a prototype opo actually built and tested by applicants . one of the applicants programmed the opo to alternate between five selected wavelengths ( 715 nm , 735 nm , 793 nm , 748 nm and 850 nm ). fig7 is a copy of the spectrometer recording of the results of a few more than 1 , 000 pulses ( a few more than 200 for each wavelength . during the test the pump laser was operating at a pulse rate of 20 hz . the voice - coil tuning mechanism is not limited to the ring oscillator in the demonstration and it can be applied to any opo design . photoacoustic imaging is a medical imaging technique in which a short laser pulse is used to illuminate a biological subject . the laser beam of specific wavelength range penetrates the subject generating an acoustic wave . the intensity of the acoustic wave depends on the wavelength of the laser and absorption of the target . the acoustic wave is detected by an array of detectors to form an image of the target . the image is similar to an ultrasound image . however , the photoacoustic image contains information regarding the functionality of the target , which cannot be obtained from an ultrasound image . commercial photoacoustic imaging systems are available for preclinical applications , by companies such as fuji film , endra , and ithera medical , whereas clinical systems are being developed by major manufacturers of medical devices . the wide wavelength ranges that can be produced by lasers systems that incorporate optical parametric oscillators ( opo ) makes them ideal for this application . the crystal rotation angle depends on desired output wavelength range , the pump wavelength , and the type of the opo crystal . for example , the tuning range desired for photoacoustic imaging is approximately 680 to 970 nm . the most effective opo for this application incorporates a bbo crystal cut at about 23 deg . for type i operation . in order to cover the entire wavelength range the crystal has to be rotated about 3 degrees . the desired tuning speed or the time to switch between wavelengths depends on the application and the pulse repetition rate of the laser . if the laser operates at 20 hz , which is a typical operational mode for high energy opo , the time between pulses is 50 ms . one of the most attractive modality of photoacoustic is the ability of measuring the hemoglobin concentration and the oxygen saturation in blood , in vivo . the absorption of fully oxygenated hemoglobin and that of fully deoxygenated hemoglobin as a function of wavelength in the infra - red are well known , and by measuring the absorption of ir light at two wavelength one can calculate the above mentioned parameters . to obtain reliable data in vivo the opo has to switch between two wavelengths , e . g . 750 nm and 850 nm very fast . the novel tuning technique presented in this invention allows switching the wavelength to any desired wavelength within the opo range every other laser pulse . for the specific case discussed above , switching between any two wavelengths is done in less than 50 ms . hyperspectral imaging , also known as chemical imaging is a technique in which an array of detectors ( a camera ) is used to record the spectral response across a target . by analyzing the spectral information at each pixel of the camera , the components of the target can be identified . these systems are being used in a wide range of applications , in pharmaceutical , food , and agriculture , for quality control , identifications of poisons and fraudulent ingredients and more . hyperspectral device which incorporate an opo as the illumination source is described in u . s . pat . nos . 7 , 233 , 392 and 8 , 687 , 055 ). the opo is set to scan over a very wide range of wavelength , and is synchronized with the camera , which records a set of frames each at a different wavelength . in order to acquire images at high frame rate the opo has to switch between wavelengths at a very high speed . applications based on differential absorption , in which two wavelengths are used to investigate presence and concentration of a constituent in the atmosphere ( e . g . ozone detection in the upper atmosphere ) requires fast wavelength switching . since the air mass is moving fast wavelength switching is required in order to meaningful data . persons skilled in this art will recognize that many variation of and additions to the specific design described in detail above are possible utilizing the novel concepts of the present invention . for example as shown in fig5 the rotation stage could include only a single crystal as is the case for linear opos . in a ring configuration the laser beam would preferably be directed to pass back through the same single crystal with optics such as the right angle prism 31 shown at the top of fig2 instead of being directed through a second crystal as shown in fig2 . therefore the scope of the present invention should be determined by the appended claims and not by the examples that have been given .