# &app; manual

# &app; Manual V&manrevision;

2008
Jean Bréfort

&legal;

GNOME Documentation Project
Jean
Bréfort

     jean.brefort@normalesup.org

&app; Manual V&manrevision;
&date;

Jean Bréfort jean.brefort@normalesup.org

GNOME Documentation Project

This manual describes version &appversion; of &app;.

## Feedback

To report a bug or make a suggestion regarding the &app; application or this manual, go to the &app; home page.

&app; is a simple spectrum viewer.

## Introduction

The &app; application is a spectrum viewer. It can load a variety of files in the JCAMP-DX format.

Supported spectra include UV-visible, IR, Raman, NMR (both spectra and FIDs), and Mass.

## Getting started

### To Start &app;

You can start &app; in the following ways:

Applications menu

  Choose Education Spectrum viewer .

Command line

  Type `gspectrum`, then press Return.

### When You Start &app;

When you start &app;, the following window is displayed:

#### &app; document window

Screenshot of the GSpectrum document window.

The &app; window contains the following elements:

Menubar

  The menus on the menubar contain all of the commands you need to work with files in &app;.

Display area

  The display area contains the contents of the file that you are displaying and/or editing.

### To Open a File

To open a file, choose File Open to display the Open File dialog. Select the file that you want to open, then click OK. The file is displayed in a new &app; document window.

To Open a recently opened file, choose the appropriate entry in File Open recent

&app; can open files on a remote server.

You can open multiple files in &app;. Each file is opened in it's own top-level window.

### To Open Multiple Files from a Command Line

You can run &app; from a command line and open a single file or multiple files. To open multiple files from a command line, type the following command, then press Return:

`gspectrum file1 file2 file2 ...`

where file1 and others, might be relative, absolute paths or URIs.

When the application starts, a &app; window is created for each file that you specified.

## Usage

### To Customize the spectrum view

The customization options depend on the spectrum type.

When a spectrum is opened in a new window, the displayed data are those directly read from the file. The abscissa axis might be inverted in some cases, according to current usage.

In the simplest case, the toolbar looks like:

#### GSpectrum default toolbar

Screenshot of the GSpectrum simplest toolbar.

You can set the values of the minimum and maximum displayed abscissa. These limiting values are constrained to be within the actual data interval.

When only a part of the spectrum is displayed, the slider can be used to scroll through the spectrum. The spectrum moves in the same direction as the slider.

When the spectrum is a UV-Visible spectrum, additional controls are available:

#### toolbar for UV-visible spectra

Screenshot of the GSpectrum toolbar for uv-visible spectra.

The abscissa can be switched between wavelength in nanometers and wave number in cm−1 and the axis inverted (high values at left) or not, and the ordinate can be either absorbance or transmittance.

The toolbar is almost identical for IR spectra. The only difference is that wavelengths are in micrometers instead of nanometers:

#### toolbar for IR and Raman spectra

Screenshot of the GSpectrum toolbar for ir spectra.

The abscissa units available for NMR spectra are ppm and Hz. The intergation curve can also been displayed or hidden:

#### toolbar for NMR spectra

Screenshot of the GSpectrum toolbar for nmr spectra.

### Export the Spectrum as an Image

To export the displayed spectrum to an image, use File Save As Image .

Available formats are SVG, EPS, PS, PDF, and formats that support writing in GdkPixbuf.

To choose a format, you can use an appropriate file name extension, or explicitly select a format in the combo box. With the first method, if &app; does not recognize an extension, the exported file will be a SVG file. &app; will add an extension to the file name if needed.

You might change the default width and height of the exported image using the appropriate entries.

Postscript and PDF files can also be produced using the File Print... command.

### To Print the Spectrum

To print a spectrum, choose File Print... .

File Preview opens a window with a preview of the printed output.

To tune the printed output, choose File Page setup... as explained below.

#### The page setup dialog.

The first tab of the dialog concerns the paper and margins setup. Headers and footers are not supported in the version of &app;

##### The Page Setup tab.

Screenshot of page setup dialog.

The second tab allows you to choose the scale of the output. With no scaling or scaling at 100%, the output will have the same size in points as the size in pixels on the screen. If you choose automatic scaling, you can make the output fill the available space either horizontally, vertically, or both (unchecking both options is equivalent to no scaling).

Printing to more than one page is not supported in this version of &app;

##### The Print Scale tab.

Screenshot of the printing scale page.

## Support.

### To Ask a Question

If you choose Help Ask a question, your mail client should pop up with a new message to the Gnome Chemistry Utils mailing list.

Another way to get some help is to connect on the #gchemutils IRC channel on the irc.gimp.net network and ask your question there (if you are not alone on the channel).

### To Find the Gnome Chemistry Utils on the Web.

If you choose Help Gnome Chemistry Utils on the web, the default web browser should pop up and display the main page for the Gnome Chemsitry Utils.

The main page is http://gchemutils.nongnu.org and the project page at Savannah http://savannah.nongnu.org/projects/gchemutils.

### To Report a Bug

To report a bug, you must use the bug page for the Gnome Chemistry Utils at Savannah. You can access it by choosing Help Report Bugs (hopefully you'll have only one at a time to report).

You can also use a web browser to go to the bug report page address directly. The bug repository is at https://savannah.nongnu.org/bugs/?group=gchemutils

## License

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

A copy of the GNU General Public License is included as an appendix to the GNOME Users Guide. You may also obtain a copy of the GNU General Public License from the Free Software Foundation by visiting their Web site or by writing to

        Free Software Foundation, Inc.
        51 Franklin St - Fifth Floor
        Boston, MA 02111-1307
        USA