|AHELP for CIAO 4.2||
Return the values from an image crate.
- crate - input IMAGECrate
The get_piximgvals command returns an array of values from the input IMAGECrate.
The get_piximg command ("ahelp get_piximg") returns a CrateData object for the image, which is useful if you are interested in the metadata associated with it.
slsh> cr = read_file("image.fits"); slsh> vals = get_piximgvals(cr); slsh> print(vals); 0 0 0 0 0 0 0 ...
The image values from the file "image.fits" are stored in an array. The output of the print command is the raw image values; only the first line of output is included here.
The command was renamed from get_imagevals to get_piximgvals in CIAO 4.2 to avoid a conflict with a ChIPS command of the same name.
See the bug pages on the CIAO website for an up-to-date listing of known bugs.
- add_piximg, copy_piximgvals, cratedata, delete_piximg, get_axis_transform, get_col, get_col_names, get_colvals, get_crate_item_type, get_crate_type, get_key, get_key_names, get_keyval, get_number_cols, get_number_rows, get_piximg, get_piximg_shape, get_transform, get_transform_matrix, print_col_names, set_piximgvals