code:work:lvisf:processing:idl:examples
Code Examples
IDL example code to read raw data files and extract the digitizer header and trailer information
; load a raw file mydir='/media/lvis/LVISF_EXTERNAL/59670/P3_NASA426/rtlvis/' myfilter='lvis_*.dat' myfiles = file_search(mydir,myfilter) ; set one myfile = myfiles(0) result = filename2meta( myfile, compress, filedate, galvdepth, version ) c = read_lvisf_fn( myfile, COMPRESS=compress, VERSION=version, /BIG ) shot = c(0) ; decode a sample digitzer header h = lvisf_decode_fpga_meta_header(shot.DIGIA_META_HEADER_DATA) ; decode a sample digitizer trailer t = lvisf_decode_fpga_meta_trailer(shot.DIGIA_META_TRAILER_DATA)
code/work/lvisf/processing/idl/examples.txt · Last modified: 2022/04/07 17:51 by david