欢迎来到三一办公! | 帮助中心 三一办公31ppt.com(应用文档模板下载平台)
三一办公
全部分类
  • 办公文档>
  • PPT模板>
  • 建筑/施工/环境>
  • 毕业设计>
  • 工程图纸>
  • 教育教学>
  • 素材源码>
  • 生活休闲>
  • 临时分类>
  • ImageVerifierCode 换一换
    首页 三一办公 > 资源分类 > PPT文档下载  

    Unix Tutorial for FreeSurfer Users:UNIX教程Freesurfer用户.ppt

    • 资源ID:2965849       资源大小:459.50KB        全文页数:47页
    • 资源格式: PPT        下载积分:8金币
    快捷下载 游客一键下载
    会员登录下载
    三方登录下载: 微信开放平台登录 QQ登录  
    下载资源需要8金币
    邮箱/手机:
    温馨提示:
    用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)
    支付方式: 支付宝    微信支付   
    验证码:   换一换

    加入VIP免费专享
     
    账号:
    密码:
    验证码:   换一换
      忘记密码?
        
    友情提示
    2、PDF文件下载后,可能会被浏览器默认打开,此种情况可以点击浏览器菜单,保存网页到桌面,就可以正常下载了。
    3、本站不支持迅雷下载,请使用电脑自带的IE浏览器,或者360浏览器、谷歌浏览器下载即可。
    4、本站资源下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰。
    5、试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。

    Unix Tutorial for FreeSurfer Users:UNIX教程Freesurfer用户.ppt

    Unix Tutorial for FreeSurfer Users,Ender Konukoglu,What is Unix/Linux?,An operating system(like Windows and OS X)Linux is the free,modifiable,and redistributable version of Unix Why use it?,What is Unix/Linux?,An operating system(like Windows and OS X)Linux is the free,modifiable,and redistributable version of Unix Why use it?power to write many scripts with many commands to work with lots of datato use computer resources on the network efficiently,such as clusters,Getting Started,Communicate with operating system through a“shell”or terminal window.For Linux:Double click Terminal icon on Desktop For Macs:Double click on hard driveApplications Utilities X11(double click)Applications Utilities Terminal,Warm Up,Type:and hit enter.,date,Warm Up,Type:and hit enter.Should see,date,Mon Apr 6 8:05:24 EDT 2009,Warm Up,Type:and hit enter.Should seeType:and hit enter.,date,Mon Apr 6 8:05:24 EDT 2009,cal,Warm Up,Type:and hit enter.Should seeType:and hit enter.Should see,date,Mon Apr 6 8:05:24 EDT 2009,cal,April 2009Su Mo Tu We Th Fr Sa 1 2 3 4 5 6 7 8 9 10 1112 13 14 15 16 17 1819 20 21 22 23 24 2526 27 28 29 30,Directories,Unix uses a hierarchical file system(think folders in Windows),Directories,Unix uses a hierarchical file system(think folders in Windows),Home is like“My Computer”,Directories,Unix uses a hierarchical file system(think folders in Windows),Home is like“My Computer”,Like“My Documents”,Directories,Unix uses a hierarchical file system(think folders in Windows),Home is like“My Computer”,Like“My Documents”,Like“My Photos”,Directories,Unix uses a hierarchical file system(think folders in Windows),Home is like“My Computer”,Like“My Documents”,Like“My Photos”,picture.jpg,Location,Type:and hit enter.Should seeshows“present working directory”or current location as a pathsimilar to:/MyComputer/MyDocuments/MyPhotos,pwd,/home/nmrclass,/Users/YourName,OR,Opening a Directory,Not double clicking Type command to“open”,Commands to open files will differ,Navigating Directories,“change directory”:move into a folder“list”:see contents of directory,ls,cd _,ls _,Navigating Directories,“change directory”:move into a folder“list”:see contents of directory,ls,cd _,ls _,Desktop matlab tmp TUTORIAL_DATA,Anatomy of a Command,command-option1 option2 file,command-help,Anatomy of a Command,command-option1 option2 file,command-help,ls-help,Try:,Directory Contents,List contents of directory you are in lists names of directories/files,ls,ls-lrt,ls-l,ls-a,Directory Contents,List contents of directory you are in lists names of directories/files lists hidden files too,.xdebug_tkmedit.cshrc.alias,ls,ls-lrt,ls-l,ls-a,Directory Contents,List contents of directory you are in lists names of directories/files lists hidden files too lists file detailsdrwxrwx-,user,group,others,ls,ls-lrt,ls-l,ls-a,Directory Contents,List contents of directory you are in lists names of directories/files lists hidden files too lists file details lists recent files last,ls,ls-lrt,ls-l,ls-a,Save Some Time,Filename Completion hit Tab key should see hit enterHistoryhit keyshould seeshould see the recent commands,ls Des,ls Desktop,ls Desktop,history,Changing Directories,makes a new directory“practice”changes to directory“practice”,mkdir practice,cd practice,ls-lrt,pwd,ls,pwd,/home/nmrclass,/home/nmrclass/practice,should see,should see,should see,Nothing!,Changing Directories,Changing Directories,mkdir stuff,ls,makes folder“stuff”inside practice,should see“stuff”,Using an Editor,If using a Mac:Type:I could write a script in here.File Save(Buffer)File Exit emacsshould see“mynotes.txt”,emacs mynotes.txt,pico mynotes.txt,ls,Ctrl-x if using pico and then Y and enter,Using an Editor,If using a Mac:Type:I could write a script in here.File Save(Buffer)File Exit emacsshould see“mynotes.txt”,gedit mynotes.txt,pico mynotes.txt,ls,Ctrl-x if using pico and then Y and enter,Using an Editor,Copying files,ls,cp-help,cp mynotes.txt stuff,cd stuff,more mynotes.txt,learn all the options or“arguments”,is the copy command,cp,Copying files,ls,cp-help,cp mynotes.txt stuff,cd stuff,less mynotes.txt,learn all the options or“arguments”,is the copy command,cp,Changing Directories,shows one directory up,ls.,pwd,/home/nmrclass/practice/stuff,ls./.,goes up two!,cd.,should see,cd./.,can also do(but dont):,Copying/Moving files,cp mynotes.txt myothernotes.txt,Could also use do:,mv myothernotes.txt hernotes.txt,mv hernotes.txt.,Removing Files,rm mynotes.txt,ls,pwd,should be in“stuff”,ls,Review,no double clickingmkdirlscdpwdemacs,gedit,vi,picocprm,Using FreeSurfer,With FreeSurfer,certain variables must be set in order to use it correctly:FREESURFER_HOMESUBJECTS_DIR,tell Operating System where FreeSurfer is,tell FreeSurfer where data is,Required Variables,To go to location of your data:$means take the value of the variable,cd$SUBJECTS_DIR,setenv SUBJECTS_DIR/path/to/data,Required Variables,To go to location of your data:$means take the value of the variable,cd$SUBJECTS_DIRakacd/path/to/data,setenv SUBJECTS_DIR/path/to/data,$,How echo works:To set a variable:To check what a variable is set to:,echo$TEST_VARIABLE,setenv TEST_VARIABLE yourfirstname,echo It is called football not soccer.,Required Variables,With FreeSurfer,certain variables must be set in order to use it correctly:FREESURFER_HOMESUBJECTS_DIR,tell Operating System where FreeSurfer is,tell FreeSurfer where data is,echo$FREESURFER_HOME,echo$SUBJECTS_DIR,To check variables,Visualization Tools,For FreeSurfer visualization tools:,tkmedit subj001 T1.mgz-aux wm.mgz,tksurfer subj001 lh inflated,VisualizationTool subject data_file-aux other_data_file,VisualizationTool subject hemisphere data_file,freeview volume1 volume2-f surface1 surface2,More Help,http:/surfer.nmr.mgh.harvard.edu/fswiki/FsTutorial/CommandLineNavigationLinks on Wiki under“Unix Tutorial”Glossary of Unix commands,The End,Good Luck!,Writing Scripts,Putting multiple commands together.Automatically running a sequence of commandsExample:create a file named my_first_script.csh with the contents:,#!/bin/cshsetenv name FreeSurferecho I love$name!,%chmod u+x my_first_script.csh%./my_first_script.csh,Loops in Scripts,You can create loops,if statements,Example:create a file named my_first_loop.csh with the contents:,#!/bin/cshforeach name(Bill Murray Wes Anderson)echo I love$name!end,Inputs to Scripts,You can create take inputs from the command lineExample:create a file named my_first_IO.csh with the contents:,#!/bin/cshecho The$0 command is called with$#argv parametersecho parameter 1 is$1echo parameter 2 is$2,

    注意事项

    本文(Unix Tutorial for FreeSurfer Users:UNIX教程Freesurfer用户.ppt)为本站会员(仙人指路1688)主动上传,三一办公仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知三一办公(点击联系客服),我们立即给予删除!

    温馨提示:如果因为网速或其他原因下载失败请重新下载,重复下载不扣分。




    备案号:宁ICP备20000045号-2

    经营许可证:宁B2-20210002

    宁公网安备 64010402000987号

    三一办公
    收起
    展开