ls
From DavinciWiki
(Redirected from Ls)
|
Contents: Description, Arguments, Usage, Examples, Related Functions Supported Under Version: >1.69 Current Davinci Version: 2.27 64-bit Safe: No
Description Prints all defined variables and modules to the screen. Identical to list
Arguments and Return Values Arguments: None Return Value: None
Usage Syntax: ls([ufunc = BOOL][,sfunc = BOOL] ) ufunc - return an array of strings with all the loaded User Defined Functions sfunc - return an array of strings with all the Davinci Core Functions
Examples dv> ls() tmp: 2x2x2 array of float, bsq format [32 bytes] 0.00000 1.00000 2.00000 3.00000 4.00000 5.00000 6.00000 7.00000 a: 4x3x2 array of float, bsq format [96 bytes] 0.00000 1.00000 2.00000 3.00000 4.00000 5.00000 6.00000 7.00000 8.00000 9.00000 10.0000 11.0000 0.871736 0.252256 0.855913 0.793858 0.540481 0.816743 0.604638 0.125098 0.651419 0.322488 0.0191050 0.786868 $0: "davinci" after loading the davinci library (source("/path/to/library.dvrc")) you can see all the modules,
functions and variables it defines
dv> ls()
hn_pre: "sea"
Module thm:
version:
full path: /mars/common/davinci/lib/davinci/thm.la
0 dependencies:
18 functions:
column_fill
convolve
corners
deplaid
emiss2rad
kfill
ipi
rad2tb
radcorr
ramp
reconstitute
rectify
sstretch
supersample
themis_emissivity
unscale
white_noise_remove1
white_noise_remove2
thm: eps2: 2.22045e-16
eps: 1.19209e-07
intmax: 2147483647
math_version: 1.29000
msff_version: 1.08000
v_mosaic_version: 1.02000
field_spectrometer_version: 1.00000
spectral_tools_version: 1.25000
mosaic_tools_version: 1.04000
general_science_version: 1.02000
misc_version: 1.11000
thermal_model_version: 1.01000
aviris_science_version: 1.00000
master_science_version: 1.00000
aster_science_version: 1.01000
crism_science_version: 1.16000
tes_science_version: 1.01000
themis_science_version: 1.06000
data_manipulation_version: 1.03000
plot_tools_version: 1.13000
map_projection_version: 1.06000
image_stretch_version: 1.04000
time_version: 1.18000
ignore: -32768
pi: 3.14159
constants_version: 1.06000
dshadow_version: 1.00000
class_examples_version: 1.00000
browser: "/usr/bin/firefox"
os: "linux"
utils_version: 1.12000
tmp: 2x2x2 array of float, bsq format [32 bytes]
0.00000 1.00000
2.00000 3.00000
4.00000 5.00000
6.00000 7.00000
a: 4x3x2 array of float, bsq format [96 bytes]
0.00000 1.00000 2.00000 3.00000
4.00000 5.00000 6.00000 7.00000
8.00000 9.00000 10.0000 11.0000
0.180716 0.176266 0.683637 0.479969
0.551458 0.124633 0.680642 0.686693
0.443737 0.568022 0.676752 0.382351
$0: "davinci"
dv> ls(1)
Text Buffer with 460 lines of text
1: restore_session
2: getos
3: getbrowser
4: wiki
5: library_version
6: install_check
7: library
8: library_update
9: gdal_version
10: isis3_version
dv> ls(0,1)
Text Buffer with 249 lines of text
1: nop
2: exit
3: echo
4: cos
5: sin
6: tan
7: acos
8: asin
9: atan
10: cosd
dv> ls(1,1)
Text Buffer with 709 lines of text
1: restore_session
2: getos
3: getbrowser
4: wiki
5: library_version
6: install_check
7: library
8: library_update
9: gdal_version
10: isis3_version
|
DavinciWiki Mini-Nav Bar Contents
Contact Developers
All other topics
Related Functions
Recent Core Changes Modified On: 04-14-2016 |