Overlaying an Experimental Spectrum

It is possible to overlay either an experimental spectrum (complete with a frequency and intensity scale) or a bitmap (a picture of the spectrum where no frequency scale is available) into PGOPHER.  The data can come from the clipboard (i.e. Copy and Paste from another application) or a file. In either case you can make adding, rather than replacing, a spectrum the default by checking the File, Merge menu item.

From the clipboard

Select the data you want to overlay in another application, such as a spreadsheet, a Drive spectrum, a bitmap, a picture in a .pdf file, or a simple text file in a text editor and then use Overlays, Paste Overlay . To add, rather than replace a spectrum use Overlays, Paste Another.

Open a data file

Use File, Load Overlay...to open a data file. You can also drag and drop data files on to the main PGOPHER window, which has the same effect. 

Lining up the simulation and experiment.

You apply a simple offset to a simulation via the FOffset parameter. This is one of the mixture parameters, or you can set it via the "Offset" entry on the main toolbar or by dragging the simulation with the mouse while the "ALT" key is held down.

File Formats

PGOPHER can handle a selection of formats:
.txt,.csv Text files - PGOPHER is reasonably flexible as to the text file formats it can handle; it expects sets of (frequency, intensity pairs), one per line. Multiple values for intensities can also be given and appear as multiple spectra.
.jdx,.dx,.jcm JCAMP-DX format - PGOPHER can handle most varieties
.drv Drive files - PGOPHER can handle these directly, or via the clipboard from DRIVE.
bmp, .jpg and other images
PGOPHER can also  handle bitmaps, for cases where only a picture of the spectrum is available instead of the raw data.  In this case, the frequency scale must be set manually from the Bitmap Overlay window.
The frequency scale is detected automatically (apart from images) if there are only two numbers for each point on the spectrum. If the file contains more than two numbers per point you are prompted for the action to take (such as discarding some data or treating the file as several spectra) in the Pick Channels Dialog.