Title :NELS- Version 21 Keywords :EELS Computer :DEC VAX-11/730 - 11/785 or higher series Operating System :VMS Programming Language :Fortran IV Hardware Requirements :Tektronics 4010 Series Graphic Terminal or Emulator Author(s) :Nestor J. Zaluzec Correspondence Address :Electron Microscopy Center, Materials Science, Bldg 212 :Argonne Nat. Lab, Argonne, IL. 60439 USA Documentation: The following is the Compilation and Linking Procedure for NELS V21 for a VAX- based system $fortran/extend nels21 $fortran/extend ngraph $link nels20,ngraph $rename nels20.exe nels.exe $run nels NOTE: you must have current versions of the ATMLVL.TBL file and for the program to implement all options. You should also create the terminal data file TERMIN.DAT for the graphics utilities. for further information on these see EMMPDL entries NGRAPH, ATMLVL. A preliminary set of instructions for the NEDS/NELS series of data (spectral analysis programs follows. Preliminary Instructions for NELS VERSION 21 ---------------------------------------------- The program is started entering the normal RT-11 operating mode. When the (.) appears indicating RT-11 is ready enter the following .RUN NELS or .RUN DY1:NELS where means to enter a carriage RETURN. For Vax-based systems you need only enter RUN NELS after your system prompt. The RT-11 device specification DY1: is only necessary if your copy of NELS is stored on DISK DRIVE 1 instead of the system DISK (DY0:) as most software is normally stored. You should also insure that the file ATMLVL.TBL exists and is on the system DISK. You should refer to the EMMPDL files on this subject for further details. Before running the program you should first inspect the file DK:TERMIN.DAT by typing it out on the crt display. This file is read by NELS and determines the characteristics of your terminal relative .to this program. If the characteristics of your terminal (type and/or baud rate) are different than those listed, then use the normal .VAX/RT-11 EDITOR to change the terminal type (i.e. 0,1,2,3 as defined in the file), and the baud rate. NOTE: donot erase any text from this file as it important in the field specifications. A listing of this file is given below: GRAPHICS TERMINAL TYPE:8 BAUD RATE FOR GRAPHICS:9600 HARDCOPY DEVICE TYPE:5 C -------------------------------------------------------- C TERMINAL DEFINITIONS: C --------------------- C -3 = ASCII TERMINAL: NO GRAPHICS, NO VT-100 compatibility <32COLUMNS C -2 = ASCII TERMINAL: NO GRAPHICS, NO VT-100 compatibility C -1 = ANSI X3.4 ASCII TERMINAL: NO GRAPHICS, VT-100 compatible C 0 = TEKTRONICS 4010-1,4014-1 (WITH HARDWARE CURSOR) C 1 = TEKTRONICS 4006 ,4010 (NO HARDWARE CURSOR) C 2 = LEAR SIEGLER ADM-3,ADM-5 (WITH RETROGRAPHICS RG-512) C 3 = PERITEK VCG-512 BIT MAP COLOR GRAPHICS C 4 = TEKTRONICS 4027 C 5 = HP 7470A/7475A HARDCOPY PLOTTER C 6 = LA100/LA50 HARDCOPY GRAPHICS C 7 = INTECOLOR VT-100 with 4010-1,4014-1 mode C 8 = INTECOLOR VT-100 with 4027 mode C 9 = DEC VT-200 with 4010-1,4014-1 mode C 10 = TEKTRONICS 4105/4107 with VT-100 compatibility mode C 11 = PLESSEY VT-100/TEK 4010-1 C 12 = ESPIRIT VT-100/TEK 4010-1 C 13 = TEKTRONICS 4010-1 HARDCOPY VIDEO TO VERSATIC C 14 = TEKTRONICS 4695 Color Copier C -------------------------------------------------------- C BAUD RATE RANGE FOR GRAPHICS (110 - 19200) C -------------------------------------------------------- C C The current terminal configurations is by the above an INTECOLOR VT-100 with Tektronics 4027 graphics, operating at 9600 BAUD. The program begins by initializing the display, printing out the current version number, date etc. and the hardcopy output file name. For VAX based systems this is the default output device FOR008.DAT. The program next types out the general Menu of available commands the operator need only type in the corresponding two character code to select an option. Hopefully, most of these will be selfexplainitory. A list of the current Menu is given below GR = GRAPH MODIFICATION OF DISPLAY WI = WINDOW SET AND EXPAND TO FILL DISPLAY CU = CURSOR VALUE SM = SMOOTH DATA CA = CALIBRATE SPECTRUM NO = NORMALIZE (REMOVE) GAIN CHANGES BG = BACKGROUND FITTING IN = INTEGRATE EDGE DF = DIGITAL FILTER OF THE SPECTRUM ME = MEMORY AND DATA MANIPULATION RE = READ DATA FILE FROM DISK WR = WRITE DATA TO FILE ON DISK OR = ORIGINAL DATA REDRAWN EX = EXIT PROGRAM THE FOLLOWING MODES ARE AVAILABLE IN THE "ME" OPTION CO = COPY FROM MEM 1 TO 2 OR 3 SS = SPECTRUM-SPECTRUM MATH +,-,X,/ MEM 1 BY MEM 2 SC = SPECTRUM-CONSTANT MATH " " " " MEM 1 BY CONSTANT LO = LOG OF DISPLAY AL = ANTILOG OF DISPLAY OV = OVERLAY MEM1/MEM2 ETC. ZE = SETS ALL VALUES <0. IN CURRENT MEMORY = TO 0. DE = DELETE PORTION OF CURRENT MEMORY EQ = EQUALIZE (SCALE) 2 MEMORIES AT CURSOR LOCATION After listing the options the program automatically requests you to supply a EMMPDL DATA FILE for input. Use the demonstration file NIO.001 if you donot have a suitable spectrum available. Please note that this program only reads data in the EMMPDL file format, if your data file is of a different format (ie. EDAX, KEVEX, ORTEC, TRACOR, PGT, LINK etc.) this program will not accept the data files as is. The program NTRAN will translate some of this data to EMMPDL format and vice-versa and you must run it first. The subroutine RPDL.FOR documents the expected data file format for those interested in writing their own translation routine, however, I would appreciate comments and/or information concerning other data formats inorder that I can keep NTRAN up to date for all users. At this point the program enters its general command sequence the usual series of steps in an analysis would be something like this: 1.) RECALL SPECTRUM (if present data is not suitable) 2.) CALIBRATE, and MODIFY SPECTRUM USING DISPLAY MANIPULATION OPTIONS 3.) NORMALIZE (if gain changes are present between edges) 4.) FIT BACKGROUND CURVE FOR 1ST ELEMENT (lowest energy first!) 5.) INTEGRATE 1ST ELEMENT 6.) FIT BACKGROUND CURVE FOR NEXT ELEMENT 7.) INTEGRATE (repeat lines 5 - 7 for each element) 8.) EXIT PROGRAM General Remarks --------------- This version of NELS exclusively uses memory 1 for data and memory 2 for calculations and/or backgrounds. The maximum spectral size that the current program can support is 4096 channels in 3 memories on a Vax system, or with appropriate modification 1024 channels in 3 memories on a RT-11 system. Remember that some routines modify or even delete portions of the spectrum so always store the spectra on a DISK FILE before analyzing it. GRPH ---- This is the general display control routine which allows the operator to redraw the current display. This should be used when the display gets too messy due to multiple operations or you just wish to erase the entire screen and start over. Its options are few, but must be entered in the following order OVERLAY(Y-N),Y-MAG,SYMBOL(-9 to +1). Here the OVERLAY options allows the user to superimpose ontop of the current display a modification of the present display . Thus by specifying a Y-MAG the user can expand the display to look at a small feature of interest. SYMBOL refers to the various plotting symbols +1= line, 0= dots, etc. (-9 = solid fill and is good for photography). A typical answer sequence would therefore be: Y,3.,+1 or N,1.,-9 Remember the commas here are essential to seperate command inputs!!. VALUE OF CURSOR EMail: Zaluzec at ANLMST on BITNET ------------------------- The following is NIO test data referenced in the instructions ------------------------- NICKEL OXIDE (NIO) THIN & CALIBRATED 1020., 93., 51., 75., 60., 79., 62., 64., 141., 66., 64., 76., 54., 99., 58., 63., 98., 69., 62., 84., 132., 83., 61., 75., 68., 75., 61., 49., 76., 76., 73., 68., 66., 78., 58., 78., 81., 66., 67., 78., 82., 72., 94., 64., 93., 84., 77., 94., 95., 78., 61., 70., 78., 91., 69., 76., 95., 63., 79., 96., 73., 82., 63., 68., 101., 84., 75., 68., 82., 95., 82., 95., 67., 94., 68., 67., 83., 66., 61., 89., 96., 114., 82., 88., 79., 79., 112., 100., 98., 111., 89., 86., 94., 107., 82., 104., 103., 111., 88., 90., 90., 96., 81., 96., 122., 128., 90., 115., 113., 147., 119., 134., 135., 151., 161., 155., 161., 197., 197., 243., 279., 267., 330., 371., 415., 578., 615., 719., 958., 1202., 1532., 2034., 2658., 3250., 4374., 5908., 7733., 10446., 13964., 19649., 27850., 40443., 70906.,287377.,907273.,999999.,999999.,378770., 66816., 22640., 19922., 18842., 18193., 17625., 17627., 18512., 20334., 22886., 24198., 27896., 32936., 38326., 42489., 45744., 45637., 45694., 42882., 39301., 35152., 31583., 29351., 28482., 28329., 28231., 27694., 27198., 27029., 25240., 23441., 21900., 21761., 20889., 19835., 19086., 18714., 18160., 17165., 15978., 15562., 14447., 13456., 12783., 12715., 12453., 11348., 11020., 10826., 10562., 10939., 11753., 12310., 11939., 12096., 11224., 10748., 10746., 10011., 9657., 9138., 8772., 7979., 7886., 7974., 7469., 7350., 6893., 6750., 6689., 6406., 6630., 6251., 6156., 5988., 5570., 5426., 5285., 5220., 4784., 4774., 4711., 4548., 4602., 4369., 4196., 4170., 4039., 3939., 3861., 3809., 3644., 3583., 3468., 3446., 3326., 3296., 3245., 2997., 3223., 2869., 3161., 2924., 2977., 2852., 2748., 2856., 2681., 2573., 2367., 2314., 2378., 2200., 2131., 2149., 2140., 1977., 1892., 2087., 2029., 2534., 1768., 1661., 1866., 1781., 1756., 1720., 1675., 1608., 1617., 1508., 1466., 1435., 1472., 1510., 1398., 1368., 1329., 1337., 1252., 1453., 1239., 1300., 1183., 1143., 1201., 1099., 1156., 1118., 1022., 1108., 982., 1125., 1025., 982., 944., 1050., 975., 928., 838., 823., 760., 765., 886., 813., 747., 763., 766., 748., 730., 757., 722., 649., 615., 738., 715., 693., 622., 680., 737., 584., 641., 564., 655., 689., 604., 592., 528., 607., 604., 522., 603., 478., 595., 490., 567., 545., 415., 482., 465., 426., 425., 431., 457., 421., 452., 404., 426., 417., 402., 453., 351., 402., 390., 414., 336., 387., 393., 393., 362., 342., 320., 408., 344., 338., 376., 369., 325., 324., 388., 334., 286., 368., 313., 294., 276., 287., 278., 309., 298., 376., 276., 272., 285., 289., 303., 285., 262., 246., 241., 282., 276., 233., 293., 282., 240., 239., 249., 221., 281., 256., 271., 149., 233., 222., 257., 216., 267., 218., 223., 247., 257., 232., 247., 219., 218., 212., 155., 140., 210., 223., 241., 189., 202., 245., 221., 165., 251., 175., 216., 194., 149., 171., 190., 164., 186., 216., 196., 185., 224., 150., 187., 206., 189., 133., 487., 571., 646., 693., 687., 1008., 1647., 2813., 6044., 40099.,277728.,277409.,272166.,270886.,266481.,263601.,261307., 259766.,256997.,255017.,252812.,251045.,248411.,244405.,242740.,238405.,237245., 234104.,232296.,229025.,225395.,224023.,221182.,218490.,215402.,213702.,211487., 207637.,207735.,204466.,202871.,202065.,199026.,196004.,195179.,193225.,189142., 190629.,185958.,183435.,182445.,181003.,177714.,177066.,176459.,173183.,172498., 168982.,168526.,166561.,166676.,163205.,161700.,159002.,157138.,156360.,155075., 153980.,152122.,150120.,148595.,146894.,146346.,144359.,143181.,140798.,140292., 140132.,135705.,137252.,134358.,133585.,132797.,130784.,129705.,129194.,127651., 125425.,123154.,123534.,121702.,120843.,120157.,118150.,118032.,116287.,115672., 115285.,113973.,113388.,111495.,110880.,109568.,109774.,106461.,106323.,104967., 104643.,103502.,104092.,102644.,104190.,105582.,106395.,109830.,114841.,129101., 137277.,142550.,149411.,158227.,168096.,174291.,172829.,166554.,157611.,148944., 144233.,139998.,136330.,131842.,129541.,129004.,128481.,129033.,130659.,132068., 134279.,139090.,140299.,141070.,139709.,137719.,134209.,131433.,128674.,126290., 124120.,123793.,122970.,121338.,120432.,119968.,117555.,116829.,115500.,113855., 112896.,111465.,110772.,110957.,112426.,111254.,111707.,111340.,111586.,111292., 110646.,109792.,108029.,107390.,105776.,105663.,103972.,103007.,101590.,100175., 99562., 98693., 98671., 98117., 97191., 97018., 97311., 96194., 95550., 95144., 93372., 93893., 93201., 92543., 92113., 90136., 89461., 88138., 87355., 85956., 85598., 86478., 84765., 82918., 83029., 82903., 82383., 80994., 80362., 80657., 79170., 78562., 77901., 77659., 76640., 76562., 74963., 74868., 74225., 73558., 72662., 72417., 71988., 72266., 70731., 70142., 70512., 69499., 70128., 69245., 69133., 69000., 68097., 67476., 68128., 67207., 66850., 66931., 65032., 65035., 64151., 64225., 64499., 63902., 64004., 62786., 62028., 61914., 61245., 60335., 60764., 59707., 59732., 59747., 58824., 57525., 58046., 57436., 57468., 56501., 55913., 55589., 54643., 54997., 54668., 54088., 53744., 53649., 52389., 51945., 51164., 51927., 50908., 50968., 50256., 49614., 49768., 49726., 49569., 48483., 48473., 48055., 48228., 47425., 47197., 46796., 46509., 46731., 45584., 45705., 44891., 45651., 45364., 44624., 43876., 44809., 44017., 43414., 44280., 43760., 43098., 42721., 41847., 42834., 42514., 42229., 41980., 41429., 41665., 41478., 40280., 39655., 40277., 39400., 39810., 39155., 38942., 38524., 38987., 38578., 38149., 38412., 38098., 37363., 36986., 36513., 37225., 36471., 36750., 35670., 35654., 35111., 34972., 34597., 35546., 34397., 33960., 33984., 34213., 33654., 32605., 33079., 32964., 32997., 32004., 31906., 32380., 31624., 32007., 31770., 31195., 30987., 31307., 30791., 30367., 30066., 29673., 30650., 29888., 29718., 29515., 29614., 29248., 29056., 29206., 28654., 29277., 29832., 30293., 31739., 33143., 35386., 38005., 42283., 48606., 56194., 69613., 79228., 78678., 70758., 61475., 55560., 48418., 46756., 46864., 46747., 47284., 48928., 52790., 55932., 58923., 59484., 57711., 55943., 56622., 56076., 54291., 55565., 54753., 55316., 56510., 56593., 58280., 58112., 59354., 59508., 59830., 59774., 59720., 60352., 61062., 60197., 60383., 62077., 61434., 61409., 62046., 61559., 60863., 60725., 59335., 59226., 58273., 58599., 57555., 58101., 58111., 57519., 57933., 58333., 58251., 57303., 57649., 58043., 57903., 57674., 57288., 57416., 57397., 57375., 56610., 56347., 55843., 56699., 57092., 56753., 57061., 56104., 56540., 55981., 55924., 56330., 56196., 55254., 55222., 56086., 55215., 54807., 54411., 54094., 53300., 53501., 53106., 52811., 52449., 52493., 52201., 51868., 51787., 52627., 52250., 51317., 51700., 50665., 51154., 50692., 50475., 50328., 49430., 50273., 49697., 49659., 49063., 48921., 49142., 48431., 48374., 48587., 47717., 48105., 47322., 47748., 47022., 46769., 47170., 46016., 46376., 46418., 46073., 46342., 45866., 45809., 45854., 45620., 46447., 45839., 45895., 45773., 45814., 46322., 46128., 46276., 45886., 45706., 45632., 45236., 45691., 46823., 45675., 45593., 45620., 45590., 45132., 45595., 44343., 44604., 44320., 44520., 44621., 43953., 43822., 42680., 43177., 42882., 42749., 42090., 41447., 41790., 41044., 41576., 41097., 40515., 40769., 40758., 40750., 40255., 40484., 40040., 40121., 39719., 39147., 39235., 39314., 39923., 39422., 39004., 38943., 38509., 12805., 12619., 12776., 12568., 12480., 12535., 12879., 12543., 12161., 12394., 12572., 12042., -180.37, 1.2520, 120.00, 1.000, 2.600, 0.000, 0.000, 0.000, 0.000, 0.000, ------------------------ End of NIO Test Data ------------------------