For the Phantom camera files ("cine" files, with a ".cin" extension), a popular viewing option is the IDL routine fcplayer.pro. For a list of options and more examples, see FCplayer.html. See BlobTracking.html for details on feature tracking within FCplayer.pro.
findufc 130370
cineload.pro and cine_time.pro may be used for reading into an IDL program (cine_open.pro and cine_read.pro are in beta test as of August, 2009, and will probably be the best way to access .cin file data). Fast 2-D Camera files are stored under /p/nstxcam). The color Miro camera usually shows a "global" view of the entire plasma. See the Help file for more information.
If you want a quick animation of the Fast Camera data that is stored in MDSplus, try
IDL> fcvcr, 128030, time=[0.05,0.3], maxFrames=40
See nstxmovies.html for creating movies from 1 or 2 NSTX Fast Cameras. You may also specify up to two MDSplus signals to add to the animation. E.g.,
[click image to enlarge]
For camera data from MDSplus with time and shot number overlayed, but no controls, try: displayfcmds.pro:
IDL> displayfcmds, 128030, minMsec=100, maxMsec=300, loop=5
For more recent camera data, the following type of call will work:
IDL> efitmovies, "miro*135060", /thomson, /Summary
IDL> efitmovies, 204118, /thom, /summary, xsize=800, ysize=700, maxframes=200
(Since this application, like xinteranimate, stores frames in memory on your X-client, displaying more than a few 100 frames can cause significant performance problems.)
These codes can be found in the $NSTXUSR/util/idl_cvs/ directory on the PPPL Linux cluster. Two-camera animations (produced from, e.g., cine2mpeg.pro) can be found in ../Diagnostics/FC2008/. (A password is required when accessing some of these pages from outside PPPL; see Bill Davis or Lane Roquemore.) See SUMMARY.html in that directory for some explanation of the movies. Some MPEGs created from the 2009 are available in ../Diagnostics/FC2009/. Try browsing thumbnails of camera images, along with summary plots (more thumbnails at other URLs).
If you want a quick animation of .cin files with time and shot number overlayed, but no controls, try cinetvnew.pro for monochrome cameras and mirodisplay.pro for the color Miro cameras. Mpegs and Quicktime movies can be saved from fcplayer.pro.
For Photron camera files, see read_photron.pro.
Fast Camera thumbnails can be produced easily.
.
See cinethumbnails.html for more information.
Other ways of using Fast Camera data can be round at WhatsNew.html.
To read and plot a frame from a cine file in IDL on the PPPL Linux cluster:
if nwords( file ) eq 0 then $ file = FINDCAMFILES('nstx_3_142015.cin') ; (faster: file ='/p/nstxcam-archive/Phantom73-6663/2010/nstx_3_142015.cin') if n_elements( time ) eq 0 then time=0.2 CINE_TIME, file, times frame = NEARESTI( times, time ) data = CINELOAD( file, frame ) dims = SIZE( data, /dim ) shot = EXTRACTSHOTNUMBER(file) RIGHT_ASPECT, findgen(dims[0]), findgen(dims[1]), POSITION=out_pos title='Shot '+strtrim(shot[0],2)+'; '+strtrim(time,2)+' sec.' THCONT, data, title=title, POSITION=out_pos
To see a list of camera parameters, such as frame rate, filter type, exposure time, etc.:
IDL> mdseditbranch, 142015, tree='cameras', branch='.fc_1.settings'