⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 animation.pro

📁 IDL语言编写的用于天文自适应光学仿真的软件CAOS V6.0的第一部分。
💻 PRO
字号:
; $Id: animation.pro,v 1.3 2002/12/04 14:54:47 riccardi Exp $;+; ANIMATION;; by G. Brusa, Osservatorio Astrofisico di Arcetri (OAA);-pro animation,cella,verb=verb,showf=showf,sshowf=sshowf,pixels=pixels,mini=mini,maxi=maxi,dec=dec;;animate;sz=size(cella)nfr=sz(3)npix_x=sz(1)npix_y=sz(2)if keyword_set(verb) then begin	print,strtrim(string(nfr),2),' frames'	print,'quanti frames ed a partire da quale vuoi vedere con quanti pixels?'	read,showf,sshowf,pixels	print,'min max'	read,mini,maxi	print,'dec'	read,decendif else begin	if n_elements(showf) eq 0 then showf=nfr	if n_elements(sshowf) eq 0 then sshowf=0	if n_elements(pixels) eq 0 then pixels=1	if n_elements(mini) eq 0 then mini=min(cella)	if n_elements(maxi) eq 0 then maxi=max(cella)	if n_elements(dec) eq 0 then dec=0endelseif(showf eq 0) then goto,fine_show;xinteranimate,set=[pixels*npix_x,pixels*npix_y,showf/(dec+1),1]window_save=!d.windowxinteranimate,set=[pixels*npix_x,pixels*npix_y,showf/(dec+1)];,/SHOWLOADfor i=0,showf/(dec+1)-1 do begin	xinteranimate,image=rebin(bytscl(cella(*,*,i*(dec+1)+sshowf),min=mini,max=maxi,top=!d.table_size),pixels*npix_x,pixels*npix_y,/sample),frame=iendforxinteranimatewset,window_savefine_show:returnend

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -