home *** CD-ROM | disk | FTP | other *** search
- Help on Spectro
- !Spectro v 1.22 © <Richard Sharpe>=Author> 1994,95
-
- ----------------------------
- * <Introduction> *
- * <Display>=The Main Display Window> *
- * <Database>=Edit Database> *
- * <Options> *
- * <Menus> *
- * <RISCOS Versions> *
- * <Licence> *
- ----------------------------
- Click on the words in red on any of the pages for more help.
- !@#
- Introduction
- This is a simulation of a Mass Spectrometer.
- It comes in two parts: a fully <configurable>=Choices> ossiloscope <display>=The Main Display Window> and a fully
- editable <database>=Edit Database>.
-
- Whilst !Spectro is loading it scans a directory inside the application and
- depending on what it finds will open one of three possible windows when
- you click \<Select>| on the icon bar icon.
-
- 1. <New Database> if no database files are found.
- 2. <Choose Database> if several are found.
- 3. <The Main Display Window> if only one is found.
- !@#
- New Database
- This window consists of a writable icon and an \<OK>| button. You should
- write in the name of the new database file and either press \<Return>| or
- press the \<OK>| button which will create a new file of that name (eg.
- Organic, Inorganic etc.) and open an <Edit Database> window ready for you
- to begin to input data.
- !@#
- Choose Database
- If there is more than one database defined then you must tell Spectro which
- one you want to use. A window is opened.
-
- The choices from the window are as follows:
-
- 1. The menu button entitled Databases, which allows you to choose your
- database.
- 2. \<Delete Database>| which does just that though this is a bit drastic.
- 3. \<Cancel>| which removes the window from view.
- 4. \<OK>| which loads the appropriate database.
- 5. Create Database which enables you to do just that.
- !@#
- The Main Display Window
- Clicking on the Spectro icon on the icon bar will open the main window
- which by default has a blue background and a white foreground.
- The <colours>=Colours> can be changed quite easily according to taste.
-
- At the top of the main window is a <pane>=Pane>, showing various options.
-
- On the top right of the <pane>=Pane> there is a pair of radio icons called
- data and test. These enable you either to test your knowledge of Mass
- Spectra which the program will select for you (Test) or to examine a Mass
- Spectrum of your choosing (Data).
-
- On the top left is a pop-up menu icon. When you click \<SELECT>| on
- this icon, you will see a menu contain all of the chemicals in the
- database.
-
- Clicking on one of the entries in this menu will paste the name into
- the icon to the right.
-
- Having made your selection you should click \<SELECT>| on the \<OK>| button.
-
- The \<NEXT>| button is only used when !Spectro is in test mode, otherwise
- it does nothing. It is used when you have fully examined the Mass
- Spectrum and said what you think it is and you now want another one to
- look at.
- !@#
- Choices
- The choices window enables the user to configure the system so that the data
- appears according to your particular needs and not the programmer's
- preferences.
- I hope I have covered most of the things people will need but if I have
- missed anything out. Please REGISTER and I will try to accomodate your
- wishes.
-
- There are five option areas.
-
- 1. <Options for abundance axis>
- 2. <Options for m/e axis>
- 3. <Gas Pressure>
- 4. <Colours>
- 5. <Resolution>
- !@#
- Options for abundance axis
- The radio icons 'Curves/Sticks' tells the program to <display> the peaks
- as straight lines or as the slighly more realistic peaks that an
- ossiloscope would show. This is because 'A' level papers often just use
- sticks so the students will be prepared for exams as well as reality.
-
- Print peak heights is an On/Off button which allows or not, as the case
- may be, the printing of the abundance above the peaks.
-
- The radio icons 'Raw Data' and the standardize ones determine how the data
- is displayed. Raw data is the actual abundance; Standardize from 100
- makes the highest peak 100 and scales the rest accordingly; Standardize
- as percentages adds up the total 'raw' abundance and percentages each
- total. The result is displayed only when the 'Print peak heights' button
- is on.
- !@#
- Options for m/e axis
- The radio icons 'regular' and 'logarithmic' determine the nature of the
- horizontal axis. Often on 'A' level papers the scale is presented as
- regular but in reality the scale is logarithmic. The regular axis is often
- easier to read. You can take your pick.
-
- You can also change the axis scale, so that more of the spectrum can be
- seen at one time, using the bump icons marked 'Axis Scale'.
- !@#
- Gas Pressure
- This slider icon determines the height of the peaks on the display. This
- can be useful if there a lot of tiny peaks which are indistinguishable
- from one another.
- !@#
- Colours
- These two menu icons allow you to set both the background and foreground
- colours to whatever you wish. Point the mouse over the menu icon, press
- the middle button on the mouse and choose the desired colour.
- !@#
- Resolution
- This is an on/off switch which allows the teacher to edit out information
- which may be of a higher level than you may wish to address at this level
- of work.
- For example you may wish to exclude certain isotopes.
- Instructions on how to implement this, is in the <Edit Database> instructions.
- !@#
- Edit Database
- You can enter the database either by clicking the menu button over the
- !Spectro icon on the icon bar or by doing the same over the main window, and
- moving across from database to Edit Database. You will be presented with a
- window with a large number of icons which will contain the Mass Spec data.
-
- At the top you will see Chemical Name and Chemical Formula and in the body
- of the window, icons which contain the data for mass/electron charge and
- abundance.
-
- The Chemical Name icon will only accept lower case letters but it will
- convert the first letter of the first word to upper case in the the
- Chemicals Menu.
-
- If you click in any of the writable icons you will be able to change the
- data (if it's wrong!) or add extra data (if it is incomplete!) Pressing
- \<TAB>| or \<RETURN>| will take the cursor on to the next writable icon.
-
- If there is any data which you want to exclude for some students you can
- precede the number with a lower case aitch "h" and this can be displayed or
- not depending on the settings in the <Choices> window.
-
- At the bottom of the window there is a row of buttons which perform the
- following functions.
-
- \<|\<| See previous record.
- >> See next record.
- New Record Prepare for a new record to be entered.
- Clear Record Clear all of the fields in that record.
- Search Opens a window allowing you to type in a chemical
- you want to find. !Spectro will try to find it.
- Typing the first few letters of the name is often
- enough.
- Cancel Closes the database returning you to the main window.
- If any data has been changed, you will be given the
- chance to save or not as you wish.
- Delete Record This deletes the record displayed at the time.
- Save Record This saves the altered or new record to the database.
-
- In addition to this you can copy records from one database to another using
- the HotKey "Ctrl C" or choosing this option from the database submenu. This
- will open a window with a menu button leading to a menu of all of the
- available databases. Choosing one of these and pressing \<Return>| or the
- \<OK>| button will copy the record presently loaded to the required
- destination.
- !@#
- Menus
- There are three menus involved in the application:
-
- 1. <The IconBar menu>
- 2. <The Display window menu>
- 3. <The Edit Database menu>
- !@#
- The IconBar menu
- This is fairly self explanatory:
-
- Info does what Info always does.
- Help does this!
- Choices opens the <Choices> or Options window
- Database leads to a <sub menu>=The Edit Database menu>
- Quit get you out.
- !@#
- The Display window menu
- Similar to <The IconBar menu> but without Info and Quit but with the
- addition of a save as drawfile option.
- !@#
- The Edit Database menu
- This contains four options.
-
- 1. Edit Database opens the edit window allowing you to alter or add to
- your current database.
- 2. Change Database allows you to do just that.
- 3. New database allows the creation of a new file.
- 4. Copy Record allows you to copy records from one database file to
- another.
- !@#
- Author
- Richard Sharpe
- 5 Camberwell Terrace
- Leamington Spa
- Warwickshire
- CV31 1LP
-
- Tel: 01926 422040
- !@#
- !Blib
- A Basic library linker by Ian Palmer available from various P.D. libraries.
- !@#
- Colours
- The background and foreground colours can be changed by using the Colours
- menu icons in the <Choices> window. This can be opened either from the icon
- bar menu or from the main window menu.
- !@#
- !EventShell
- This is the most comprehensive Basic Wimp library available. It is SHAREWARE
- so if you do get hold of a copy and find it useful, do pay the registration
- fee which for what you get is very little indeed. £10.00 is a lot cheaper
- than !WimpGen.
- It is written by <Paul Hobbs> and is available from most P.D. libraries or
- from the author. (Despite the address he is English but you can write in
- English or German.)
-
- <Click here>=Author: !EventShell> for what <Paul Hobbs> wants to say about his very excellent
- work.
- !@#
- Licence
- This application is SHAREWARE. If you find it useful you are required to
- register. (Within 30 days of first using it)
- You may distribute the UNREGISTERED version to whoever you like as long as
- you leave the application intact and you make the recipient aware of the
- application's Shareware status.
-
- ** REGISTRATION IS £5.00 for individuals, £10.00 for a school.**
-
- Registration is so that I know who's using the application and hopefully get
- some feedback. Also I spent a lot of time on it and want to be appreciated!
-
- The advantages of Registering and paying the far from exorbitant fee are as
- follows:
-
- 1. You will not be breaking the law.
- 2. You will encourage me to write more educational software
- at low cost.
- 3. You will make me ecstatically happy.
- 4. You will be entitled to free upgrades (for a while at
- least!)
- 5. You will have the opportunity to tell me how to make the
- program better!
- 6. You will have the opportunity to suggest other projects
- that you desire an author for.
- !@#
- DISTRIBUTION
- You may distribute the UNREGISTERED version of this program to anyone you
- like so long as you pass on the whole application including ALL of the files
- in the application directory.
-
- You may not alter any of the files in any way nor may you claim to have
- written any of the code.
-
- Send your money, name, address, telephone number, comment, criticisms and
- anything else you like to the <Author>.
- !@#
- CREDITS
- The Wimp Procedure Library that I used was written by <Paul Hobbs>
- and is part of his excellent <!EventShell>=EventShell> package. I appended it to
- the program using <!Blib>=Blib> which is likewise a very fine piece of work
- by <Ian Palmer>=Blib>. It was then well and truly squashed using <!BasShrink>=Wallace>
- by <John Wallace>.
- !@#
- Pane
- A pane is a special window superimposed on the main window which will not
- scoll out of view as the main window is scrolled.
- !@#
- Author: Wimp Shell Library
- Paul Hobbs
- Rheinpfalzstrasse 2
- 85049 Ingolstadt
- Germany
- !@#
- Author: !EventShell
- This program has been written using the routines supplied with the EvntShell
- library which is copyright <Paul Hobbs>.
-
- EvntShell is a starting point for developing your own applications that run
- under the RISC-OS wimp system. The EvntShell library contains code to handle
- most of the 'Events' (i.e. opening a menu, closing a window etc) that can
- occur, and all your application has to do is inform the library what it
- should do when certain events occur. For example a menu can be attached to a
- window or to an icon - the library will open the menu for you (in the
- correct position!) when the MENU button on the mouse is used.
-
- Normally writing a wimp application is a very complex business, involving
- much reading of the Programmers Reference Manuals, magazine articles and
- examining other applications. The aim of the EvntShell library is to reduce
- the need for this and to enable the speedy creation of easily maintained and
- robust applications.
- !@#
- Distribution Licence for EvntShell
- You have permission to use any part or the whole library in any Public
- Domain/ShareWare project ONCE YOUR COPY HAS BEEN REGISTERED, as long as I am
- fully credited (via the inclusion of this file in the program
- documentation). If you wish to use these routines in a program that is for
- sale (for however much and for whatever reasons) or released as copyright
- material then my express permission in writing must be obtained. I maintain
- copyright on all the material supplied as part of the EvntShell system
- (except where noted below) and reserve the right to amend these conditions in
- cases where I deem misuse.
-
- The library code is supplied free of charge to everyone 'as is'. There is no
- guarantee that it is free from bugs and no warranty is given about its
- suitability for use.
-
- Further details about EvntShell may be obtained from the author:
-
- Paul Hobbs
- Rheinpfalzstrasse 2
- 85049 Ingolstadt
- Germany
-
- The heap manager routines used by EvntShell are copyright Risc User and are
- used with permission.
-
- Copyright for all of the supplied relocatable modules remains with the
- original authors.
- !@#
- RISCOS Versions
- I have included three sets of templates. Two are intended for use
- mostly in Modes 12-27 and one is more appropriate for use with the
- RISC PC which uses an 800x600 screen as default. The RISCOS 3.5
- templates will load automatically on a RISC PC and the other sets
- will load on machines with RISCOS 2 and RISCOS 3 respectively.
- If you have an A5000 that you usually run in Mode 31 then change
- the name of TemplRO35 to TemplRO3 and call TemplRO3 something
- else. The RISCOS 2 set use the Interface module exclusively so
- if your machine has RISCOS 2 you should always use this set which
- should load automatically.
-
- If there are any problems please contact the <Author>.
- !@#
- John Wallace
- Supplier of !BasShrink which costs £5.00p. !BasShrink_PD is the
- Public Domain version and is available from various PD libraries.
-
- John Wallace,
- Architype Software,
- 54 Parkes Hall Road,
- Woodsetton,
- Dudley,
- West Midlands,
- DY1 3SR
- ENGLAND.
- !@#