1 / 11

Mac, Unix and physics programs Magne Guttormsen Department of Physics and SAFE

Mac, Unix and physics programs Magne Guttormsen Department of Physics and SAFE University of Oslo. Mac commands. Use Finder to inspect your file system. Cmd F, find a file name or content of a file Cmd , change screen Cmd I, information about file/folder

nishi
Download Presentation

Mac, Unix and physics programs Magne Guttormsen Department of Physics and SAFE

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Mac, Unix and physics programs Magne Guttormsen Department of Physics and SAFE University of Oslo

  2. Mac commands Use Finder to inspect your file system Cmd F, find a file name or content of a file Cmd , change screen Cmd I, information about file/folder Cmd ->| (tab), see running programs Cmd <- (back space), put file in trash Cmd K, mount a directory, e.g. smb://tid.uio.no/ or afp://safe-mac-01.uio.no

  3. Mac set-up To change settings, click on System Preferences

  4. Hidden Unix Open a terminal (or X-terminal) Here, you can use Unix commands: ls, cd, cmd... Hidden dot-files, like .bashrc, is seen by ls -lain your home directory called e.g./Users/magneg Go to desktop by cd Desktop, or programs by cd /Applications Unix programs starts by typing e.g. mama. Mac programs are started by clicking the icon (if you hate clicking, write e.g. open /Applications/Calculator.app)

  5. Organizing Drag your favourite icons to the dock Use View menu in Finder to organize the Desktop Make folders within e.g. Documents, to organize your documents etc.

  6. More Mac help USIT web pages: http://www.usit.uio.no/it/mac/ Apple Norway: http://www.apple.com/no/ Ask a friend Help menu on your Mac:

  7. More than 7000 Fink programs • Web site: http://www.finkproject.org/ • All Unix Open source software for MacOs • Some commands in Terminal window: • Search for a program: fink list latex • Update your database: fink selfupdate • Update all old programs: fink update-all • Install new package: fink install latex-make

  8. Run offline Type offline in a terminal window where your event files are located Load your sorting function Use Tape menu to select Disk file Use Spectra menu to Clear spectra Push I to get info Push Run, Sort, Files... to start When finished, push Dump

  9. Sorting essentials The dE and E energies for each event are read from the event file These are sorted into dE-E bananas by pointers /* ****************************************************** */ /* Banana matrices ALFNA and ALFGE fpr telescopes 1 and 5 */ /* ****************************************************** */ if(telenu==1 && de<512 ){ ++*(pansp+e+de*2048); } if(telenu==5 && de<512 ){ ++*(pagsp+e+de*2048); }

  10. Run mama Type mama in a terminal window

  11. Summary • This was just a start... • Several programs are essential for the Oslo method: • Data taking: eventbuilder, sirius, spy, update • Offline analyses: reduc, offline, kin, mama, root, paw • Interpretation: fitone, robin, normalization, d2rho, counting, rhosigchi, thermo, combi, ... • Other tools: c, c++, g95, latex , Excel, Word, Adobe, ...

More Related