This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Timing tests for SpyFile read_ methods | |
from spectral import * | |
def create_files(src='av920612_NS_line.lan'): | |
img = open_image(src) | |
envi.save_image('bilfile.hdr', img, interleave='bil') | |
envi.save_image('bipfile.hdr', img, interleave='bip') | |
envi.save_image('bsqfile.hdr', img, interleave='bsq') |