CL 2. (bash) 3. IRAF IRAF(Imaging Reduction and Analysis Facility) & Facility IRAF IRAF img (M81) : MT819[1-8].fits : MT869?.fits,
|
|
|
- みいか みやくぼ
- 7 years ago
- Views:
Transcription
1 IRAF (16-18, Feb, 2011) IRAF UNIX IRAF CL (bash) CL 1.2 Web Web 1 IRAF 2 IRAF An Introductory User s Guide to IRAF Scrips IRAF CL Script Tips & Tricks Host CL Scripting Capability A Beginner s Guide to Using IRAF mms/unix/shellscript/index.html 1
2 CL 2. (bash) 3. IRAF IRAF(Imaging Reduction and Analysis Facility) & Facility IRAF IRAF img (M81) : MT819[1-8].fits : MT869?.fits, MT870?.fits, MT871?.fits : skyflat.fits & iterstat.cl : STSDAS iterstat CL ( ) sample0[1-5].sh : 2
3 2 2.1 IRAF IRAF & CL IRAF IRAF 3 IRAF 3.1 login.cl login.cl login.cl IRAF Warning: no login.cl found in login directory IRAF IRAF login.cl IRAF IRAF IRAF change directory CL login.cl IRAF 3.2 IRAF ref ref subtract 1 subtract IRAF Google IRAF ref calculation ref calculate 3.3 epar epar imexam :q( ) :go( ) 3
4 3.4 help help imexam 3.5 unlearn task CL unlearn unlearn flprcache ctrl + c ( ) & logout & IRAF 3.6 IRAF IRAF 2 1. command mode : taskname arg1 arg2... argn par1=val1 par2=val2... parn=valn 2. compute mode : taskname (arg1,..., argn, par1=val1, par2=val2,..., parn=valn) command/compute mode compute mode 3.7 IRAF! IRAF UNIX ( C ) CL! head -n 10 file help language IRAF CL Builtin Commands and Functions 4
5 4 CL 4.1 CL int : 32bit real : double E 3.2E8 bool : yes no string : file : struct : fscan string struct string file struct struct 4.2 > file : spool output in a file < file : read input from a file (rather than the terminal) >> file : append the output to a file > & file : spool both error and regular output in a file >> & file : append both error and regular output to a file 1 : type *.cl > hoge.txt 2 : type ( *.cl, > hoge.txt ) 4.3 CL =mkscript IRAF mkscript CL mkscript imarith ecl> mkscript Script file name (script.cl): tekitou.cl Task name of command to be added to script: imarith ( ) PACKAGE = imutil TASK = imarith I R A F Image Reduction and Analysis Facility operand1= a.fits Operand image or numerical constant op = + Operator operand2= b.fits Operand image or numerical constant result = c.fits Resultant image (title = ) Title for resultant image 5
6 (divzero= 0.) Replacement value for division by zero (hparams= ) List of header parameters (pixtype= ) Pixel type for resultant image (calctyp= ) Calculation data type (verbose= no) Print operations? (noact = no) Print operations without performing them? (mode = ql) :q imarith ("a.fits", "+", "b.fits", "c.fits", title="", divzero=0., hparams="", pixtype="", calctype="", verbose=no, noact=no) Is the command ok? (yes): yes Add another command? (yes): no yes imarith ("a.fits", "+", "b.fits", "c.fits", title="", divzero=0., hparams="", pixtype="", calctype="", verbose=no, noact=no) Is the script ok? (yes): yes Submit the script as a background job? (yes): no yes no tekitou.cl mkscript tekitou.cl ecl>!cat tekitou.cl imarith ("a.fits", "+", "b.fits", "c.fits", title="", divzero=0., hparams="", pixtype="", calctype="", verbose=no, noact=no) mkscript CL CL mkscript & mkscript mkscript CL tekitou.cl & 4.4 CL 1. procedure 2. ( ) list directed parameter LDP IRAF EOF Close LDP 6
7 5. begin end 4.5 CL STSDAS IRAF HST iterstat.cl imstat iterative HST CL CL // p r o c e d u r e i t e r s t a t ( image ) / / p r o c e d u r e / / i t e r s t a t p r o c e d u r e / / / / ( ) image # S c r i p t t o f i n d image s t a t i s t i c s e x c l u d i n g d e v i a n t p i x e l s # 4 August 1992 by John Ward # Minor m o d i f i c a t i o n s 4 August 1992 MD # V a r i o u s s u b s e q u e n t v a r i a t i o n s. # L a t e s t r e v i s i o n : 18 Aug 1993 MD # M o d i f i c a t i o n s f o r p u b l i c r e l e a s e : Howard Bushouse, 13 A p r i l 1999 / / / / / / s t r i n g image { prompt = I n p u t image ( s ) } / / / / r e a l n s i g r e j { 5., min = 0., prompt = Number of sigmas f o r l i m i t s } / / / / 5 / / 0 min=0 / / min=0 / /, ( ) max=50 / / prompt i n t m a x i t e r { 1 0, min =1, prompt = Maximum number of i t e r a t i o n s } bool p r i n t { yes, prompt = P r i n t f i n a l r e s u l t s? } bool v e r b o s e { yes, prompt = Show r e s u l t s of i t e r a t i o n s? } r e a l lower { INDEF, prompt = I n i t i a l lower l i m i t f o r d a t a r a n g e } r e a l upper { INDEF, prompt = I n i t i a l upper l i m i t f o r d a t a r a n g e } i n t npix { prompt = R e t u r n e d v a l u e of n pix } r e a l mean { prompt = R e t u r n e d v a l u e of mean } r e a l sigma { prompt = R e t u r n e d v a l u e of sigma } 7
8 r e a l median { prompt = R e t u r n e d v a l u e of median } r e a l valmode { prompt = R e t u r n e d v a l u e of mode } # Must be valmode t o a v o i d c o n f l i c t w/ o m n i p r e s e n t t a s k # p a r a m e t e r mode # Y o s h i f u s a I t a added : query ( q l ) / l e a r n ( a l ) p a r a m e t e r s s t r i n g mode= a l s t r u c t i n i m g l i s t / / l i s t d i r e c t e d p a r a m e t e r b e g i n / / b e g i n s t r i n g i m g l i s t # e q u a l s image s t r i n g i n f i l e # t e m p o r a r y l i s t f o r f i l e s s t r i n g img # image name from f s c a n r e a l mn # mean from i m s t a t r e a l s i g # s t d d e v from i m s t a t r e a l med # midpt from i m s t a t r e a l mod # mode from i m s t a t r e a l l l # lower l i m i t f o r i m s t a t r e a l u l # upper l i m i t f o r i m s t a t i n t nx, npx # number of p i x e l s used i n t m # dummy f o r countdown # Get query p a r a m e t e r i m g l i s t = image # Load n e c e s s a r y p a c k a g e s i f (! d e f p a c ( images ) ) images i f (! d e f p a c ( i m u t i l ) ) i m u t i l # Expand f i l e l i s t s i n t o t e m p o r a r y f i l e s. i n f i l e = mktemp ( t m p $ i t e r s t a t ) s e c t i o n s ( i m g l i s t, o p t i o n = f u l l n a m e, > i n f i l e ) i n i m g l i s t = i n f i l e # Loop t h r o u g h images w h i l e ( f s c a n ( i n i m g l i s t, img )!= EOF) { # Compute image s t a t i s t i c s i m s t a t ( img, f i e l d s = mean, stddev, npix, midpt, mode, lower=lower, upper=upper, format ) scan (mn, s i g, npx, med, mod ) / / scan i f ( v e r b o s e ) p r i n t ( img, : mean =,mn, rms =, s i g, npix =, npx, median =,med, mode =,mod ) # Loop over r e j e c t i o n c y c l e s m = 1 w h i l e (m <= m a x i t e r ) { l l = mn ( n s i g r e j s i g ) 8
9 u l = mn + ( n s i g r e j s i g ) i f ( lower!= INDEF && l l < lower ) l l = lower i f ( upper!= INDEF && u l > upper ) u l = upper i m s t a t ( img, f i e l d s = mean, stddev, npix, midpt, mode, lower= l l, upper=ul, format ) scan (mn, s i g, nx, med, mod ) i f ( nx == npx ) b r e a k i f ( v e r b o s e ) p r i n t ( img, : mean =,mn, rms =, s i g, n pix =, nx, median =,med, mode =,mod ) } npx = nx m = m + 1 i f ( p r i n t &&! v e r b o s e ) p r i n t ( img, : mean =,mn, rms =, s i g, npix =, nx, median =, med, mode =,mod ) # S t o r e r e s u l t s i n o u t p u t p a r a m e t e r s npix = npx mean = mn sigma = s i g median = med valmode = mod } # End of loop over images # Clean up temp f i l e s d e l e t e ( i n f i l e, v e r i f y, >& d e v $ n u l l ) i n i m g l i s t = end 4.6 CL IRAF CL IRAF & iterstat image ecl> task iterstat=/ /iterstat.cl IRAF iterstat IRAF /login.cl task iterstat=/ /iterstat.cl 9
10 login.cl IRAF iterstat task /iraf/iraf/unix/hlib/extern.pkg task iterstat=/ /iterstat.cl IRAF (STSDAS ) IRAF epar iterstat ( IRAF ) $ ecl>!cat simple.cl print ("imcopy") imcopy a.fits b.fits task $simple=/ /simple.cl $ IRAF 10
11 5 (bash,sh) bash sh bash sh Google sh bash tcsh csh bash sh Google UNIX UNIX 5.1 UNIX unix command1 unix command2 UNIX ds9 ls -1 *.fits ds9 *.fits : ( ) du -sk * sort -rn head awk perl UNIX sed cat file_with_tabs.txt perl -pe s/\t/ /g cat file1 file2 file3 awk {print $1} cat file1 file2 file3 sed -i -e "s/text to replace/final text/g" sed tr perl sed sort : ex. sort -n -k 1 -r file paste : cat paste ex. paste -d file1 file2 > file3 uniq : ex. cat file1 file2 sort -k 1 uniq cut : ex. zcat hip_main.dat.gz cut -c perl -e while(<>){chomp; if($_ = m/ˆ\s*$/){print("99.99\n");}else{print("$_\n");}} > Vmag.dat bc : echo 52.1 * 12.3 bc -l head, tail : join : UNIX 11
12 5.2 $$ PID( ID) $! PID $? $- set $* $* $1 $2 $n $1 $2 $n $# $0 $1 $n $1 1 $ /bin/bash % cat sample01.sh # echo "\$$" $$ echo "\$!" $! echo "\$?" $? echo "\$-" $- echo "\$*" $* echo "\$@" $@ echo "\$#" $# echo "\$0" $0 echo "\$1" $1 echo "\$2" $2 echo "\$3" $3 echo chmod 755 sample01.sh./sample01.sh bash bash./sample01.sh 12
13 bash./sample01.sh abc d e 5.4 (bash,sh) if if [ 1 ] then 1 elif [ 2 ] then 2 else 3 fi if [ ] if test if while, until ( ) IRAF 1 -eq 2 1 -ne 2 1 -gt 2 1 -lt 2 1 -ge 2 1 -le = 2 1!=
14 -d -f -L -r -w -x -s 0 1 -nt ot 2 1 2! 1 -a o while while [ ] do done 1: i=0 while [ $i -ne 10 ] do i= expr $i + 1 echo "${i}" done expr (+,, *, /) (%) UNIX bc 2: while read line do echo ${line} done < file 14
15 5.4.3 until until [ ] do done break continue case case in 1) ;; 2) ;; 3 4) ;; *) ;; esac ;; case *) case "$var" in a* ) echo "a " ;;?b* ) echo "2 b " ;; [A-Z]* ) echo " " ;; [!xx]* ) echo " x " ;; * ) echo " " ;; esac for for in 1 2 do done 1: for filename in ls -1 *.fits do echo ${filename} done 2: for char in A B C D E F G H I J K do echo ${char} done 3: 15
16 for i in seq 10 do echo ${i} done 5.5 ls -l getopts % cat sample02.sh help(){ printf "Example:./sample02.sh -a -b 10 -c 20\n" 1>&2 printf "Options: -h : show this help\n" 1>&2 printf "Options: -a : set variable1=1\n" 1>&2 printf "Options: -b [argument]: assign the value to variable2\n" printf "Options: -c [argument]: assign the value to variable3\n" } 1>&2 1>&2 # variable1=0 variable2=0 variable3=0 while getopts "hab:c:" opt do case ${opt} in h)help; exit 0;; a)variable1=1;; b)variable2=${optarg};; c)variable3=${optarg};; esac done echo "variable1=${variable1}" echo "variable2=${variable2}" echo "variable3=${variable3}" h a b c getopts :( ) $OPTARG ( ) getopts sample02.sh help() bash./sample02.sh bash./sample02.sh -h bash./sample02.sh -a bash./sample02.sh -a -b 50 -c
17 > &2 command 1>file1 2>file2 file1 file2 1> &2 command > file > 1> &2 > & ( ) 5.7 funcion(){ if [ $1 -eq 1 ]; then return 1 else return 0 fi } funcion 1 echo $? 5.8 q while [ "${key}"!= "q" ]; do echo "Hit any key:" stty cbreak #stty raw key= dd if=/dev/tty bs=1 count=1 2>/dev/null #stty -raw stty -cbreak echo -e "\nyou hit \"${key}\" key" done 17
18 6 IRAF IRAF IRAF script.sh cron nohup script.sh & script.sh (nohup UNIX nohup command & ) IRAF 6.1 % cat sample03.sh LOG="sample03.log" cp -rp /login.cl. ( (cl -old tee ${LOG}) 2>&1 ) <<EOF images imutil unlearn imstat imstat (images="${1}", fields="image,npix,mean,stddev,min,max", lower=indef, upper=indef, nclip=0, lsigma=3., usigma=3., binwidth=0.1, format=yes, cache=no) logout EOF sample03.sh bash sample03.sh./img/mt8191.fits << ( EOF) EOF EOF cl IRAF cl old IRAF v2.14 IRAF ecl ecl cl ecl cl BS/DEL key cl -old tee UNIX IRAF LOG IRAF imstat images.imutil images imutil imstat images login.cl images images 18
19 6.2 3 (nclip=0 ) % cat sample04.sh LOG="sample04.log" cp -rp /login.cl. # lsigma=3.0 usigma=3.0 lower="indef" upper="indef" filename="abc.fits" format="yes" nclip=0 help(){ printf "Example:./sample04.sh -f./image.fits -a 2 -b 2 -l u \n" 1>&2 printf "Options: -h : show this help\n" 1>&2 printf "Options: -a [lsigma] : default ${lsigma}\n" 1>&2 printf "Options: -b [usigma] : default ${usigma}\n" 1>&2 printf "Options: -l [lower] : default ${lower}\n" 1>&2 printf "Options: -u [upper] : default ${upper}\n" 1>&2 printf "Options: -f : [filename]\n" 1>&2 printf "Options: -n [nclip] : default ${nclip}\n" 1>&2 printf "Options: -t : format no : default yes\n" 1>&2 } while getopts "ha:b:l:u:f:n:t" opt do case $opt in h)help; exit 0;; a)lsigma=$optarg;; b)usigma=${optarg};; l)lower=${optarg};; u)upper=${optarg};; f)filename=${optarg};; n)nclip=${optarg};; t)format="no";; esac done # # filename if [ ${filename} = "abc.fits" ] 19
20 then echo "You must input a filename with the -f option" exit 1 fi # lower >= upper if [ ${lower}!= "INDEF" -a ${upper}!= "INDEF" ] then bool= echo "${upper} - ${lower} > 0" bc -l if [ ${bool} -ne 1 ] then echo "[upper] must be larger than [lower]" exit 2 fi fi echo "\n\n imstat ${filename} with : nclip=${nclip}, lower=${lower}, upper=${upper}, lsigma=${lsigma}, usigma=${usigma} \n\n" tee -a ${LOG} 2>&1 ( (cl -old tee -a ${LOG}) 2>&1 ) <<EOF images imutil imstat (images="${filename}", fields="image,npix,mean,stddev,min,max", lower=${lower}, upper=${upper}, nclip=${nclip}, lsigma=${lsigma}, usigma=${usigma}, binwidth=0.1, format=${format}, cache=no) logout EOF sample04.sh bash./sample04.sh -f./img/mt8191.fits -n 10 -a 2 -b 2 -l u 500 bool= echo "${upper} - ${lower} > 0" bc -l if [ ${bool} -ne 1 ] if UNIX bc 1 0 bool if if bc 6.3 CL CL % cat sample05.sh LOG="sample05.log" cp -rp /login.cl. ( (cl -old tee -a ${LOG}) 2>&1 ) <<EOF! echo "" 20
21 ! echo "" task iterstat=/ /iterstat.cl iterstat image="${1}" logout EOF! echo 2 task iterstat=/path/iterstat.cl iterstat IRAF! echo 2 IRAF IRAF sample05.sh bash./sample05.sh./img/mt8191.fits 21
22 sample05.sh iterstat.cl nsigrej,maxiter,print,verbose,lower,upper sample04.sh img MT fits DATA-TYP CL % cat tekitou MT8191.fits MT8192.fits MT8193.fits MT8194.fits MT8195.fits MT8196.fits MT8197.fits MT8198.fits MT8690.fits MT8692.fits MT8694.fits MT8696.fits MT8698.fits MT8700.fits MT8702.fits MT8704.fits MT8706.fits MT8708.fits MT8710.fits MT8712.fits MT8714.fits OBJECT OBJECT OBJECT OBJECT OBJECT OBJECT OBJECT OBJECT CL UNIX median combine sed -n //p tekitou > dark.list dark.list median combine OBJECT OBJECT IRAF 22
-2 gnuplot( ) j ( ) gnuplot /shell/myscript 1
-2 gnuplot( ) j 2006 05 03 2006 05 12 2006 05 09 2 ( ) gnuplot /shell/myscript 1 1 shell script Level 1 myls #!/bin/sh # nowdir= pwd # if [ -f $1 -o -z $1 ] ; then echo "Enter pass" echo "ex) myls.sh./"
syspro-0405.ppt
3 4, 5 1 UNIX csh 2.1 bash X Window 2 grep l POSIX * more POSIX 3 UNIX. 4 first.sh #!bin/sh #first.sh #This file looks through all the files in the current #directory for the string yamada, and then prints
version 1.0 November 2010 PyRAF Y. Nakajima Computer and Data Management Division Subaru Telescope NAOJ
version 1.0 November 2010 PyRAF Y. Nakajima Computer and Data Management Division Subaru Telescope NAOJ Chapter 1 PyRAF 1.1 PyRAF PyRAF IRAF Python STScI 1998 (1) IRAF-CL (2) CL-? (3) IRAF Python wrapper
Microsoft PowerPoint - IRAF講習会 ppt
IRAF 講習会 CL スクリプトの作成 吉田道利 (OAO/NAOJ) 2009/11/16 IRAF 講習会 CL 入門 想定受講者その 1 IRAFは使える もしくは 使ったことがある CLスクリプトは書いたことがない もしくは 書いたことがあるが書き方を忘れてしまった 第一回の講習会には出ていない もしくは 出たけども もう一度復習したい 2009/11/16 IRAF 講習会 CL 入門
IRAF講習会 CLスクリプトの作成
データをコピーしよう 各人のワークディレクトリを作る mkdir /adc/data/tekito cd /adc/data/tekito 実習用データ プログラムをコピーする cp /data/yoshida/yoshida.tar.gz. gunzip c yoshida.tar.gz tar xvf - 講習会担当者注釈上記の /data/yoshida 以下のファイル類 (iraf2010-1_yoshida.tar.gz;
unix15-script2_09.key
UNIX講習会 シェルスクリプト2 31/July/2015 情報管理解析室 西出 浩世 SGE ~/unix15/sge $ cd ~/unix15/sge $ ls script* script2.sh script3.sh script4.sh ~/unix15/sge/results sam 12 $ ls results/*.sam $ rm -r results $ cp -r /usr/local/data/unix15/sge/results.
¥¤¥ó¥¿¡¼¥Í¥Ã¥È·×¬¤È¥Ç¡¼¥¿²òÀÏ Âè11²ó
11 2013 6 19 11 (6/19) 6 (18:10-19:40) λ13 UNIX : 2 / 26 UNIX UNIX sort, head, tail, cat, cut diff, tee, grep, uniq, wc join, find, sed, awk, screen 3 / 26 sort sort : $ sort [options] [FILE...] options
¥¤¥ó¥¿¡¼¥Í¥Ã¥È·×¬¤È¥Ç¡¼¥¿²òÀÏ Âè2²ó
2 2015 4 20 1 (4/13) : ruby 2 / 49 2 ( ) : gnuplot 3 / 49 1 1 2014 6 IIJ / 4 / 49 1 ( ) / 5 / 49 ( ) 6 / 49 (summary statistics) : (mean) (median) (mode) : (range) (variance) (standard deviation) 7 / 49
コンピュータ概論
4.1 For Check Point 1. For 2. 4.1.1 For (For) For = To Step (Next) 4.1.1 Next 4.1.1 4.1.2 1 i 10 For Next Cells(i,1) Cells(1, 1) Cells(2, 1) Cells(10, 1) 4.1.2 50 1. 2 1 10 3. 0 360 10 sin() 4.1.2 For
HARK Designer Documentation 0.5.0 HARK support team 2013 08 13 Contents 1 3 2 5 2.1.......................................... 5 2.2.............................................. 5 2.3 1: HARK Designer.................................
programmingII2019-v01
II 2019 2Q A 6/11 6/18 6/25 7/2 7/9 7/16 7/23 B 6/12 6/19 6/24 7/3 7/10 7/17 7/24 x = 0 dv(t) dt = g Z t2 t 1 dv(t) dt dt = Z t2 t 1 gdt g v(t 2 ) = v(t 1 ) + g(t 2 t 1 ) v v(t) x g(t 2 t 1 ) t 1 t 2
X Window System X X &
1 1 1.1 X Window System................................... 1 1.2 X......................................... 1 1.3 X &................................ 1 1.3.1 X.......................... 1 1.3.2 &....................................
GNU Emacs GNU Emacs
GNU Emacs 2015 10 2 1 GNU Emacs 1 1.1....................................... 1 1.2....................................... 1 1.2.1..................................... 1 1.2.2.....................................
Microsoft Word - Meta70_Preferences.doc
Image Windows Preferences Edit, Preferences MetaMorph, MetaVue Image Windows Preferences Edit, Preferences Image Windows Preferences 1. Windows Image Placement: Acquire Overlay at Top Left Corner: 1 Acquire
10/ / /30 3. ( ) 11/ 6 4. UNIX + C socket 11/13 5. ( ) C 11/20 6. http, CGI Perl 11/27 7. ( ) Perl 12/ 4 8. Windows Winsock 12/11 9. JAV
[email protected] [email protected] http://www.misojiro.t.u-tokyo.ac.jp/ tutimura/sem3/ 2002 11 20 p.1/34 10/16 1. 10/23 2. 10/30 3. ( ) 11/ 6 4. UNIX + C socket 11/13 5. ( ) C 11/20
I117 II I117 PROGRAMMING PRACTICE II SCRIPT LANGUAGE 1 Research Center for Advanced Computing Infrastructure (RCACI) / Yasuhiro Ohara
I117 II I117 PROGRAMMING PRACTICE II SCRIPT LANGUAGE 1 Research Center for Advanced Computing Infrastructure (RCACI) / Yasuhiro Ohara [email protected] / SCHEDULE 1. 2011/06/07(Tue) / Basic of Programming
Asterisk PBX 不正利用防止
Asterisk PBX ICTR120716-OR01A Info Circus,Inc. 1 2 2 IP-PBX 3 2.1........................... 3 3 IP-PBX 4 3.1........................................... 4 3.2..................................... 4 3.3..............................
TC5.ids
% cp ~train00/.cshrc.iris ~ % cp ~train00/.alias.all ~ % exit UNIX の基本 シェルシステムとユーザの仲立ちをするプログラムであって ユーザが入力したコマンドを解釈して実行する Unix では文法によって sh 系と csh 系がある sh 系には sh, ash, zsh, bash などがある csh 系には csh, tcsh などがある
1.2. スクリプト作成と実行 いくつかスクリプトの例を見てみましょう例 : shiraf_display ( もちろん勝手にこう命名しただけです 他と混同しなければ何でも ) #!/iraf/irafbin/bin.sunos/cl.e -f reset stdimage = imt1024 lo
IRAF-CL の外から IRAF タスクを利用する 2009.6 中島康 ( 名古屋大 / 国立天文台 ) 0. はじめに IRAF の CL スクリプトを使わなくても 他のスクリプト ( シェル perl, python) を使って IRAF のタスクを利用することができます CL スクリプトでは届かなかったカユいところに手が届いたり CL のバグ (?) を回避できたり 他のスクリプトに精通している人には便利であったりします
tebiki00.dvi
(Linux) [ UNIX ] CMD Workshop ( ) 1 *********************************************************************** * Linux PC-UNIX UNIX * * 99% FreeBSD BSD PC-UNIX * * * ***********************************************************************
Microsoft Word - Win-Outlook.docx
Microsoft Office Outlook での設定方法 (IMAP および POP 編 ) How to set up with Microsoft Office Outlook (IMAP and POP) 0. 事前に https://office365.iii.kyushu-u.ac.jp/login からサインインし 以下の手順で自分の基本アドレスをメモしておいてください Sign
ストラドプロシージャの呼び出し方
Release10.5 Oracle DataServer Informix MS SQL NXJ SQL JDBC Java JDBC NXJ : NXJ JDBC / NXJ EXEC SQL [USING CONNECTION ] CALL [.][.] ([])
r08.dvi
19 8 ( ) 019.4.0 1 1.1 (linked list) ( ) next ( 1) (head) (tail) ( ) top head tail head data next 1: NULL nil ( ) NULL ( NULL ) ( 1 ) (double linked list ) ( ) 1 next 1 prev 1 head cur tail head cur prev
Autumn 2005 1 9 13 14 16 16 DATA _null_; SET sashelp.class END=eof; FILE 'C: MyFiles class.txt'; /* */ PUT name sex age; IF eof THEN DO; FILE LOG; /* */ PUT '*** ' _n_ ' ***'; END; DATA _null_;
1 I EViews View Proc Freeze
EViews 2017 9 6 1 I EViews 4 1 5 2 10 3 13 4 16 4.1 View.......................................... 17 4.2 Proc.......................................... 22 4.3 Freeze & Name....................................
listings-ext
(6) Python (2) ( ) [email protected] 5 Python (2) 1 5.1 (statement)........................... 1 5.2 (scope)......................... 11 5.3 (subroutine).................... 14 5 Python (2) Python 5.1
technews2012autumn
For Higher Customer Satisfaction, We Bridge the SS System Between Customer s World. SUMMER 2013 GUI Install License Hot Fix 02 SUMMER 2013 2 User ID 1 SS terms umask 022 echo umask 022 >> ~/.bashrc SUMMER
I 2 1 2 2 2 3 2 II 3 III 6 1 8 1.1.......................... 8 1.1.1...................... 8 1.1.2........................ 10 1.1.3...................
iraf 16 3 31 I 2 1 2 2 2 3 2 II 3 III 6 1 8 1.1.......................... 8 1.1.1...................... 8 1.1.2........................ 10 1.1.3...................... 10 1.2.......................... 11
f(x) x S (optimal solution) f(x ) (optimal value) f(x) (1) 3 GLPK glpsol -m -d -m glpsol -h -m -d -o -y --simplex ( ) --interior --min --max --check -
GLPK by GLPK http://mukun mmg.at.infoseek.co.jp/mmg/glpk/ 17 7 5 : update 1 GLPK GNU Linear Programming Kit GNU LP/MIP ILOG AMPL(A Mathematical Programming Language) 1. 2. 3. 2 (optimization problem) X
lexex.dvi
(2018, c ) http://istksckwanseiacjp/ ishiura/cpl/ 4 41 1 mini-c lexc,, 2 testlexc, lexc mini-c 1 ( ) mini-c ( ) (int, char, if, else, while, return 6 ) ( ) (+, -, *, /, %, &, =, ==,!=, >, >=,
ML Edinburgh LCF ML Curry-Howard ML ( ) ( ) ( ) ( ) 1
More Logic More Types ML/OCaml GADT Jacques Garrigue ( ) Jacques Le Normand (Google) Didier Rémy (INRIA) @garriguejej ocamlgadt ML Edinburgh LCF ML Curry-Howard ML ( ) ( ) ( ) ( ) 1 ( ) ML type nebou and
CM-3G 周辺モジュール拡張技術文書 INA226センサ(電流、電圧、電力)
CM-3G 周辺モジュール拡張技術文書 INA226 センサ ( 電流 電圧 電力 ) ( 第 1 版 ) Copyright (C)2015 株式会社コンピューテックス 目次 1. はじめに... 1 2. INA226 について... 1 3. 接続図... 1 4. buildroot へのパッチと make 方法... 2 5. シェル スクリプト... 3 6. シェル スクリプトの実行...
New version (2.15.1) of Specview is now available Dismiss Windows Specview.bat set spv= Specview set jhome= JAVA (C:\Program Files\Java\jre<version>\
Specview VO 2012 2012/3/26 Specview Specview STSCI(Space Telescope SCience Institute) VO Specview Web page http://www.stsci.edu/resources/software hardware/specview http://specview.stsci.edu/javahelp/main.html
VDM-SL VDM VDM-SL Toolbox VDM++ Toolbox 1 VDM-SL VDM++ Web bool
VDM-SL VDM++ 23 6 28 VDM-SL Toolbox VDM++ Toolbox 1 VDM-SL VDM++ Web 2 1 3 1.1............................................... 3 1.1.1 bool......................................... 3 1.1.2 real rat int
Introduction Purpose This training course demonstrates the use of the High-performance Embedded Workshop (HEW), a key tool for developing software for
Introduction Purpose This training course demonstrates the use of the High-performance Embedded Workshop (HEW), a key tool for developing software for embedded systems that use microcontrollers (MCUs)
ohp03.dvi
19 3 ( ) 2019.4.20 CS 1 (comand line arguments) Unix./a.out aa bbb ccc ( ) C main void int main(int argc, char *argv[]) {... 2 (2) argc argv argc ( ) argv (C char ) ( 1) argc 4 argv NULL. / a. o u t \0
~~~~~~~~~~~~~~~~~~ wait Call CPU time 1, latch: library cache 7, latch: library cache lock 4, job scheduler co
072 DB Magazine 2007 September ~~~~~~~~~~~~~~~~~~ wait Call CPU time 1,055 34.7 latch: library cache 7,278 750 103 24.7 latch: library cache lock 4,194 465 111 15.3 job scheduler coordinator slave wait
1 1.1 (JCPRG) 30 Nuclear Reaction Data File (NRDF) PC GSYS2.4 JCPRG GSYS2.4 Java Windows, Linux, Max OS X, FreeBSD GUI PNG, GIF, JPEG X Y GSYS2
(GSYS2.4) GSYS2.4 Manual SUZUKI Ryusuke Hokkaido University Hospital Abstract GSYS2.4 is an update version of GSYS version 2. Main features added in this version are Magnifying glass function, Automatically
r03.dvi
19 ( ) 019.4.0 CS 1 (comand line arguments) Unix./a.out aa bbb ccc ( ) C main void... argc argv argc ( ) argv (C char ) ( 1) argc 4 argv NULL. / a. o u t \0 a a \0 b b b \0 c c c \0 1: // argdemo1.c ---
IDL_lecture_12Jan.ppt
NAOJ/ADC IDL (2012 Jan) IDL IDL ASIAA IDL RSI(->ITT) IDL IDL IDL IDL ADC IDL IDL ADC ADC Practical IDL programming By L. E. Gumley (MORGAN Kaufmann 8103 at Amazon IDLHELP (online ) Idlhelp on unix shell
mstrcpy char *mstrcpy(const char *src); mstrcpy malloc (main free ) stdio.h fgets char *fgets(char *s, int size, FILE *stream); s size ( )
2008 3 10 1 mstrcpy char *mstrcpy(const char *src); mstrcpy malloc (main free ) stdio.h fgets char *fgets(char *s, int size, FILE *stream); s size ( ) stream FILE ( man ) 40 ( ) %./a.out String : test
Jacques Garrigue
Jacques Garrigue Garrigue 1 Garrigue 2 $ print_lines () > for i in $1; do > echo $i > done $ print_lines "a b c" a b c Garrigue 3 Emacs Lisp (defun print-lines (lines) (dolist (str lines) (insert str)
!!! 2!
2016/5/17 (Tue) SPSS ([email protected])! !!! 2! 3! 4! !!! 5! (Population)! (Sample) 6! case, observation, individual! variable!!! 1 1 4 2 5 2 1 5 3 4 3 2 3 3 1 4 2 1 4 8 7! (1) (2) (3) (4) categorical
program.dvi
2001.06.19 1 programming semi ver.1.0 2001.06.19 1 GA SA 2 A 2.1 valuename = value value name = valuename # ; Fig. 1 #-----GA parameter popsize = 200 mutation rate = 0.01 crossover rate = 1.0 generation
For_Beginners_CAPL.indd
CAPL Vector Japan Co., Ltd. 目次 1 CAPL 03 2 CAPL 03 3 CAPL 03 4 CAPL 04 4.1 CAPL 4.2 CAPL 4.3 07 5 CAPL 08 5.1 CANoe 5.2 CANalyzer 6 CAPL 10 7 CAPL 11 7.1 CAPL 7.2 CAPL 7.3 CAPL 7.4 CAPL 16 7.5 18 8 CAPL
Condition DAQ condition condition 2 3 XML key value
Condition DAQ condition 2009 6 10 2009 7 2 2009 7 3 2010 8 3 1 2 2 condition 2 3 XML key value 3 4 4 4.1............................. 5 4.2...................... 5 5 6 6 Makefile 7 7 9 7.1 Condition.h.............................
13 Student Software TI-Nspire CX CAS TI Web TI-Nspire CX CAS Student Software ( ) 1 Student Software 37 Student Software Nspire Nspire Nspir
13 Student Software TI-Nspire CX CAS TI Web TI-Nspire CX CAS Student Software ( ) 1 Student Software 37 Student Software 37.1 37.1 Nspire Nspire Nspire 37.1: Student Software 13 2 13 Student Software esc
Python C/C++ IPMU IRAF
Python C/C++ IPMU 2010 11 24IRAF Python Swig Numpy array Image Python 2.6.6 swig 1.3.40 numpy 1.5.0 pyfits 2.3 pyds9 1.1 svn co hjp://svn.scipy.org/svn/numpy/tags/1.5.0/doc/swig swig/numpy.i /usr/local/share/swig/1.3.40/python
Autumn 2007 1 5 8 12 14 14 15 %!SASROOT/sassetup SAS Installation Setup Welcome to SAS Setup, the program used to install and maintain your SAS software. SAS Setup guides you through a series of menus
ProVisionaire Control V3.0セットアップガイド
ProVisionaire Control V3 1 Manual Development Group 2018 Yamaha Corporation JA 2 3 4 5 NOTE 6 7 8 9 q w e r t r t y u y q w u e 10 3. NOTE 1. 2. 11 4. NOTE 5. Tips 12 2. 1. 13 3. 4. Tips 14 5. 1. 2. 3.
新コンフィギュレータのフレームワークについて
: 2007 12 7 6: 2009 5 9 TOPPERS 1.... 4 1.1... 4 1.2 TOPPERS... 4 2.... 4 2.1... 4 3.... 8 4.... 9 4.1... 9 4.2... 10 4.3... 10 4.3.1... 11 4.3.2 INCLUDE... 11 4.3.3 C... 12 4.4 API... 14 4.2.1 API...
Rによる計量分析:データ解析と可視化 - 第3回 Rの基礎とデータ操作・管理
R 3 R 2017 Email: [email protected] October 23, 2017 (Toyama/NIHU) R ( 3 ) October 23, 2017 1 / 34 Agenda 1 2 3 4 R 5 RStudio (Toyama/NIHU) R ( 3 ) October 23, 2017 2 / 34 10/30 (Mon.) 12/11 (Mon.)
Specview Specview Specview STSCI(Space Telescope SCience Institute) VO Specview Web page htt
Specview Specview Specview STSCI(Space Telescope SCience Institute) VO Specview Web page http://www.stsci.edu/resources/software_hardware/specview http://specview.stsci.edu/javahelp/main.html Specview
Introduction Purpose This training course describes the configuration and session features of the High-performance Embedded Workshop (HEW), a key tool
Introduction Purpose This training course describes the configuration and session features of the High-performance Embedded Workshop (HEW), a key tool for developing software for embedded systems that
3 Powered by mod_perl, Apache & MySQL use Item; my $item = Item->new( id => 1, name => ' ', price => 1200,
WEB DB PRESS Vol.1 79 3 Powered by mod_perl, Apache & MySQL use Item; my $item = Item->new( id => 1, name => ' ', price => 1200, http://www.postgresql.org/http://www.jp.postgresql.org/ 80 WEB DB PRESS
RT-PCR プロトコール.PDF
Real -Time RT-PCR icycler iq Bio Rad RT-PCR RT-PCR 1 icycler iq Bio Rad icycler iq 30 2 Ready-To-Go T-Primed First-Strand Kit (amersham pharmacia biotech) Ready-To-Go T-Primed First-Strand Kit QuantiTect
: (EQS) /EQUATIONS V1 = 30*V F1 + E1; V2 = 25*V *F1 + E2; V3 = 16*V *F1 + E3; V4 = 10*V F2 + E4; V5 = 19*V99
218 6 219 6.11: (EQS) /EQUATIONS V1 = 30*V999 + 1F1 + E1; V2 = 25*V999 +.54*F1 + E2; V3 = 16*V999 + 1.46*F1 + E3; V4 = 10*V999 + 1F2 + E4; V5 = 19*V999 + 1.29*F2 + E5; V6 = 17*V999 + 2.22*F2 + E6; CALIS.
1 # include < stdio.h> 2 # include < string.h> 3 4 int main (){ 5 char str [222]; 6 scanf ("%s", str ); 7 int n= strlen ( str ); 8 for ( int i=n -2; i
ABC066 / ARC077 writer: nuip 2017 7 1 For International Readers: English editorial starts from page 8. A : ringring a + b b + c a + c a, b, c a + b + c 1 # include < stdio.h> 2 3 int main (){ 4 int a,
joho12.ppt
n φ 1 (x),φ 2 (x),,φ n (x) (x i, f i ) Q n c 1,,c n (,f k ) q n = c i φ i (x) x Q n i=1 c 1 = 0 c 1 n ( c 1 ) = q n f k 2 Q n ( c 1 ) = q 2 2 n ( ) 2 f k q n ( ) + f k Q n c 1 = c 1 q n 2 q n( ) q n q
シェルスクリプトマガジン vol.30
ユニケージ開発手法 コードレビュー USP 研究所技術研究員 written by 大内智明 Vol.19 更新したファイルを相手サーバに配信する方法について説明します 今回は前回に引き続いて 店舗や商品といったマスタ 関連のファイルが どのように管理されて 各業務サー マスタ関連のファイルは 一般的に種類も多く サイズも大小様々なものがあります そこで 毎回全マスタの配信を行わないようにするために
fp.gby
1 1 2 2 3 2 4 5 6 7 8 9 10 11 Haskell 12 13 Haskell 14 15 ( ) 16 ) 30 17 static 18 (IORef) 19 20 OK NG 21 Haskell (+) :: Num a => a -> a -> a sort :: Ord a => [a] -> [a] delete :: Eq a => a -> [a] -> [a]
PBASIC 2.5 PBASIC 2.5 $PBASIC directive PIN type New DEBUG control characters DEBUGIN Line continuation for comma-delimited lists IF THEN ELSE * SELEC
PBASIC 2.5 PBASIC 2.5 BASIC Stamp Editor / Development System Version 2.0 Beta Release 2 2.0 PBASIC BASIC StampR PBASIC PBASIC PBASIC 2.5 Parallax, Inc. PBASIC 2.5 PBASIC 2.5 [email protected] 1
Microsoft Word - D JP.docx
Application Service Gateway Thunder/AX Series vthunder ライセンスキー インストール 手順 1 1.... 3 2. vthunder... 3 3. ACOS... 3 4. ID... 5 5.... 8 6.... 8 61... 8 62 GUI... 10 2 1. 概要 2. vthunder へのアクセス 方法 SSHHTTPSvThunder
r1.dvi
Ruby 2009.9.7 1 ( ) --- ( ( ) ( ) 1 --- ( ) 1 ( ) (?) IT 7K( )?? ( ) ( )? IT ( ) --- ( ) 1 ( ) --- ( ) (?) 2-3% Top-Level ICT Professional 5% ICT Professional 10% 100% 50% 20% Devl. Experiment Adv. ICT
r07.dvi
19 7 ( ) 2019.4.20 1 1.1 (data structure ( (dynamic data structure 1 malloc C free C (garbage collection GC C GC(conservative GC 2 1.2 data next p 3 5 7 9 p 3 5 7 9 p 3 5 7 9 1 1: (single linked list 1
Parametric Polymorphism
ML 2 2011/04/19 Parametric Polymorphism Type Polymorphism ? : val hd_int : int list - > int val hd_bool : bool list - > bool val hd_i_x_b : (int * bool) list - > int * bool etc. let hd_int = function (x
ohp07.dvi
19 7 ( ) 2019.4.20 1 (data structure) ( ) (dynamic data structure) 1 malloc C free 1 (static data structure) 2 (2) C (garbage collection GC) C GC(conservative GC) 2 2 conservative GC 3 data next p 3 5
: gettoken(1) module P = Printf exception End_of_system (* *) let _ISTREAM = ref stdin let ch = ref ( ) let read () = (let c =!ch in ch := inp
7 OCaml () 1. 2. () (compiler) (interpreter) 2 OCaml (syntax) (BNF,backus normal form ) 1 + 2; let x be 2-1 in x; ::= ; let be in ; ::= + - ::= * / ::= 7.1 ( (printable characters) (tokens) 1 (lexical
5 11 3 1....1 2. 5...4 (1)...5...6...7...17...22 (2)...70...71...72...77...82 (3)...85...86...87...92...97 (4)...101...102...103...112...117 (5)...121...122...123...125...128 1. 10 Web Web WG 5 4 5 ²
LAN
HUB 1090248 21 3 19 1 1 2 3 2.1...................................... 3 2.1.1................................ 4 2.1.2 LAN................................. 6 2.2................................... 8 3 12
double float
2015 3 13 1 2 2 3 2.1.......................... 3 2.2............................. 3 3 4 3.1............................... 4 3.2 double float......................... 5 3.3 main.......................
