PAT for Windows

Given a formula consisting of element symbols and numbers of atoms, for an ion observed in a mass spectrum,  program PAT will calculate the pattern of intensities which will be produced, as a line graph and as a list of relative intensities against mass number.

It was written by Dr. Bruce W. Tattershall, Lecturer in Chemistry at the University of Newcastle, England.

Preface

Why another mass spectrum pattern calculator?  Several are available already as web-based applications, e.g.
http://winter.group.shef.ac.uk/chemputer/isotopes.html
http://www.sisweb.com/mstools/isotope.htm

The present author had the experience of running a taught drylab class of about 40 students, in which all of the students were trying to calculate complex isotope patterns using the same web-based application at the same time.  The web server concerned ground progressively to a halt, and since it belonged to a different university, we could do nothing about it.  Our students, being experienced web users, soon discovered a variety of alternative web applications, and spread their efforts to web servers around the world.  Some programs simply would not cope with the examples from inorganic research which we were using as teaching exercises, while others produced output which was much below the standard which we aspired to.  We found none which would both cope with the load of class teaching and produce excellent output for the chemistry which we wanted to teach.

Clearly the solution was to produce a stand-alone program which would run in the students' PCs, rather than a server-side web-based program.  The author had written a Basic version of PAT in 1974, which he translated to Pascal in 1985.  A version in Prospero Pascal for DOS, in 1993, added peak labelling somewhat similar to the present version, but the program was still conversational and could display only one pattern at a time.  In 1999, the ProPascal version became unusable because of purchase of PCs with non-compatible graphics adapters.  The author therefore determined to produce a Windows based version, using Salford ClearWin+ Fortran 90.  The newer features of Fortran allowed direct translation of pointer-based lists used in the 1985 Pascal version for dynamic memory management, which give the program its flexibility.

Platforms

PAT for Windows has been tested under Windows 95,  Windows 2000, Windows XP and 64-bit Windows 7

Availability

PAT for Windows may be downloaded as a compiled executable and used free of charge, subject to the  Disclaimer   shown below.  The two .dll files supplied with the program are proprietary software, which the author of PAT  for Windows is licensed to distribute with it.  If the program is installed as described below under Installation,  there should be no conflict with different versions of these libraries which you may have received with other software.  The source code for PAT  for Windows is not being offered.

Built-in Help

Compiled into PAT for Windows there is extensive help on its use.  Most of this help is as follows in the rest of this document.

Introduction
Using PAT
Setup
The Elements File

Introduction

Setup
The Elements File

Using PAT

Introduction
The Elements File

Setup

This software will run in Windows95, Windows2000, Windows XP or 64-bit Windows 7 environments.

The screen resolution should be set to at least 800 by 600 pixels in Settings, Control Panel, Display. If the windows run off the bottom of your screen, you probably have the resolution set to 640 by 480.

If you install this program in a different PC, the library files SALFLIBC.DLL and FTN90.DLL need to be in the windows path or in the directory in which PATW is started. These libraries are commercial products, but you are permitted to take copies of them without charge.

The provided file of isotope data ISTOP.EXT should be in the directory in which PATW is started. Alternatively, you may provide a customised file of data for elements of interest to you, in the same format, and give its name as a parameter in the command line in which you run PATW from DOS, or separated by a space from the program name in the Target field of a shortcut which you create to run PATW from your desktop.

Introduction
Using PAT

The Elements File

Introduction


Making a Customised Data File


Group Abbreviations in a Customised Data File

Introduction
Using PAT
Setup
 

Installation

Use pkunzip or Winzip, or whatever, to unzip the file patwe.zip into a directory of its own on your PC. Make a shortcut to the executable file patw.exe, which should stay in the same directory as the two .dll files.  See Setup for further information.

No further installation under Windows is required.  The software may be uninstalled simply by deleting patw.exe and the two .dll files.

Disclaimer

This software is produced in good faith with the expectation that it will work well, but neither the author nor the University of Newcastle accepts any liability for any failure to do so, nor for any damage to other software or hardware which it might cause.  It may not be sold to third parties nor distributed for financial gain.  Any reports on its use should cite it as:
PAT for Windows by B.W. Tattershall, University of Newcastle, Newcastle, England, 2011.

The author makes no commitment to remedy reported bugs or make suggested improvements, but nevertheless would welcome comments from users.
  They should be sent to:
  Bruce.Tattershall@ncl.ac.uk
 

Feedback

I should like to hear about your use of PAT, and be sent suggestions, comments, etc. As I say in the conditions of use, I do not undertake to act on suggestions, but I certainly welcome them and will give them due consideration.

Thanks very much.

Bruce Tattershall
School of Chemistry
University of Newcastle
Newcastle upon Tyne
England

Email:       Bruce.Tattershall@ncl.ac.uk
Website:   http://www.staff.ncl.ac.uk/bruce.tattershall/