Download Davinci

From DavinciWiki
(Difference between revisions)
Jump to: navigation, search
(35 intermediate revisions by 2 users not shown)
Line 9: Line 9:
  
  
[[Download For Mac|Download Davinci for Mac]] -- 18 Jul 2007
+
[[Download For Mac|Download Davinci for Mac]]
  
[[Download For Windows|Download Davinci for Windows]] -- 16 Jul 2007
+
[[Download For Windows|Download Davinci for Windows]]
 +
 
 +
[[Download For Ubuntu|Download Davinci for Ubuntu]]
 +
 
 +
[[Download For RedHat/CentOS|Download Davinci for RedHat/CentOS]]
  
[[Download For Linux|Download Davinci for Linux]] -- 16 Jul 2007
 
  
 
'''''Davinci Source'''''
 
'''''Davinci Source'''''
  
[ftp://ftp.mars.asu.edu/pub/software/davinci/davinci-1.65.tgz davinci-1.65.tgz] -- 16 April 2007
+
Current Release: svn checkout [http://oss.mars.asu.edu/svn/davinci/davinci/trunk http://oss.mars.asu.edu/svn/davinci/davinci/trunk]
 +
 
 +
[http://davinci.asu.edu/download.php?os=Source&filename=davinci-2.09.tgz davinci-2.09.tgz] -- September 08, 2011
 +
 
 +
[http://davinci.asu.edu/download.php?os=Source&filename=davinci-2.07.tgz davinci-2.07.tgz] -- February 10, 2011
 +
 
 +
[http://davinci.asu.edu/download.php?os=Source&filename=davinci-2.05.tgz davinci-2.05.tgz] -- March 31, 2010
 +
 
 +
[http://davinci.asu.edu/download.php?os=Source&filename=davinci-1.73-2.tgz davinci-1.73-2.tgz] -- 24 Nov 2008
 +
 
 +
[http://davinci.asu.edu/download.php?os=Source&filename=davinci-1.72.tgz davinci-1.72.tgz] -- 27 May 2008
 +
 
 +
[[Release Notes]]
 +
 
  
 
'''''Instructions'''''
 
'''''Instructions'''''
Line 33: Line 49:
 
'''Downloads'''
 
'''Downloads'''
  
[ftp://ftp.mars.asu.edu/pub/software/davinci/library_07-18-07.zip library_07-18-07.zip] -- 18 Jul 2007
+
[http://davinci.asu.edu/download.php?os=Other&filename=library_02-11-2011.zip library_02-11-2011.zip] -- 11 Feb 2011
 
+
[ftp://ftp.mars.asu.edu/pub/software/davinci/examples_07-18-07.zip examples_07-18-07.zip] -- 18 Jul 2007
+
  
  
 
Here are sample .inputrc file and .dvrc files
 
Here are sample .inputrc file and .dvrc files
 +
 +
[ftp://ftp.mars.asu.edu/pub/software/davinci/.inputrc .inputrc] (New Mapping)
  
 
[[media:inputrc.txt|.inputrc]]  
 
[[media:inputrc.txt|.inputrc]]  
Line 44: Line 60:
 
[[media:library_linux.dvrc|.dvrc]]
 
[[media:library_linux.dvrc|.dvrc]]
  
 +
Library Archive
  
[ftp://ftp.mars.asu.edu/pub/software/davinci/library_06-06-07.zip library_06-06-07.zip] -- 06 Jun 2007
+
[http://davinci.asu.edu/download.php?os=Other&filename=library_04-02-2010.zip library_04-02-2010.zip] -- 02 April 2010
  
[ftp://ftp.mars.asu.edu/pub/software/davinci/library_04-20-07.zip library_04-20-07.zip] -- 20 Apr 2007
+
[http://davinci.asu.edu/download.php?os=Other&filename=examples_04-02-2010.zip examples_04-02-2010.zip] -- 02 April 2010
  
[ftp://ftp.mars.asu.edu/pub/software/davinci/library_04-05-07.zip library_04-05-07.zip] -- 05 Apr 2007
+
[http://davinci.asu.edu/download.php?os=Other&filename=library_11-21-2008.zip library_11-21-2008.zip] -- 21 Nov 2008
 +
 
 +
[http://davinci.asu.edu/download.php?os=Other&filename=library_06-02-2008.zip library_06-02-2008.zip] -- 02 June 2008
 +
 
 +
[http://davinci.asu.edu/download.php?os=Other&filename=examples_06-02-2008.zip examples_06-02-2008.zip] -- 02 June 2008
 +
 
 +
[http://davinci.asu.edu/download.php?os=Other&filename=library_07-18-2007.zip library_07-18-2007.zip] -- 18 July 2007
 +
 
 +
[http://davinci.asu.edu/download.php?os=Other&filename=examples_07-18-2007.zip examples_07-18-2007.zip] -- 18 July 2007
 +
 
 +
[http://davinci.asu.edu/download.php?os=Other&filename=library_06-06-2007.zip library_06-06-2007.zip]
 +
 
 +
[http://davinci.asu.edu/download.php?os=Other&filename=library_04-20-2007.zip library_04-20-2007.zip]
 +
 
 +
[http://davinci.asu.edu/download.php?os=Other&filename=library_04-05-2007.zip library_04-05-2007.zip]
 +
 
 +
[http://davinci.asu.edu/download.php?os=Other&filename=library_02-21-2007.zip library_02-21-2007.zip]
  
[ftp://ftp.mars.asu.edu/pub/software/davinci/library_02-21-07.zip library_02-21-07.zip] -- 21 Feb 2007
 
 
|
 
|
 
The Davinci Library comes with several files separated by category.
 
The Davinci Library comes with several files separated by category.
Line 73: Line 105:
 
* spectral_tools - spectral calibration and analysis tools
 
* spectral_tools - spectral calibration and analysis tools
 
* themis_science.dvrc - [[THEMIS]] science tools
 
* themis_science.dvrc - [[THEMIS]] science tools
 +
* tes_science.dvrc - [[TES]] science tools
 +
* crism_science.dvrc - [[CRISM]] science tools
 +
* math.dvrc - basic math functions not included in the davinci core
 
* utils.dvrc - dvrc maintenance utilities
 
* utils.dvrc - dvrc maintenance utilities
 
* v_mosaic.dvrc - back end tools for most functions mosaic_tools.dvrc
 
* v_mosaic.dvrc - back end tools for most functions mosaic_tools.dvrc
 +
* math.dvrc - various math functions that are useful but not included in the [[:category:Davinci Core|Davinci Core]]
 +
* constants.dvrc - many commonly used constants for planetary bodies and general physics
 +
* time.dvrc - contains many useful time conversion functions
 +
* map_projection.dvrc - contains map projection and image IO functions
 
|
 
|
davinci comes with several files that are used for tutorials and examples to illustrate processes.
+
Davinci no longer ships with examples.  This reduces download size and allows us to increase the number of files used.
*asudata.vicar - example lab spectra from [http://tes.asu.edu/spectral/index.html ASU Spectral Library]
+
 
*colorjet.ppm - used by [[colorize|colorize()]] as a standard color scheme
+
They are downloaded on demand and no changes to code other than referencing $DV_EX should be needed.
*colormap_daily.ppm - used by [[colorize|colorize()]] as a standard color scheme
+
 
*colormap.ppm - used by [[colorize|colorize()]] as a standard color scheme
+
The location of the files is:
*day_maps_final.vicar - used by [[uddw|uddw()]] to remove [[drift]] and [[wobble]] from [[THEMIS]] data
+
 
*dehyd_water.txt - used by [[dehyd2|dehyd2()]] to remove water vapor from a lab spectrum
+
[http://davinci.asu.edu/examples http://davinci.asu.edu/examples]
*lab1_xaxis.vicar - example ASU lab xaxis, used by [[pplot|pplot()]]
+
*lab_structure.hdf - example lab spectra [[structure]] from [http://tes.asu.edu/spectral/index.html ASU Spectral Library]
+
*minites_cube.vicar - example [[Mini-TES]] data cube
+
*minites_emissivity.vicar - example [[Mini-TES]] emissivity data
+
*minites_spectrum.vicar -  example [[Mini-TES]] spectrum
+
*night_maps_final.vicar - used by [[uddw|uddw()]] to remove [[drift]] and [[wobble]] from [[THEMIS]] data
+
*plottest.ps - example postscript file
+
*quartz.vicar - example quartz lab spectrum
+
*sandiego_spot.pgm - example [[Landsat]] data file
+
*spectra_cube.vicar - example spectal cube
+
*THEMIS.cub - example [[THEMIS]] [[ISIS]] cube
+
*xvscalebar.ppm - used by [[colorize|colorize()]] as a standard color scheme
+
 
|
 
|
 
Davinci supports several environment variables indicated below
 
Davinci supports several environment variables indicated below
 
*$EDITOR - default text editor
 
*$EDITOR - default text editor
 
*$DV_VIEWER - default image viewer
 
*$DV_VIEWER - default image viewer
 +
*$GPLOT_TERM - default terminal for [[GnuPlot]]
 
*$GPLOT_CMD - command needed to properly invoke [[GnuPlot]]
 
*$GPLOT_CMD - command needed to properly invoke [[GnuPlot]]
 
*$DV_MOD_PATH - path to davinci loadable modules
 
*$DV_MOD_PATH - path to davinci loadable modules
Line 105: Line 133:
 
*$DV_HOME - path to main davinci location
 
*$DV_HOME - path to main davinci location
 
*$DV_LIB - path to davinci standard library
 
*$DV_LIB - path to davinci standard library
*$DV_EX - path to davinci examples directory
+
*$DV_EX - path to davinci examples web directory
 +
*$DV_BROWSER - path to web browser for [[wiki|wiki()]] functionality
 +
*$DV_KRC - path to the KRC binary
 
*$TMPDIR - path to temporary scratch directory  
 
*$TMPDIR - path to temporary scratch directory  
 +
*$DV_UPDATE_ALLOW - allow updates on the system or not
 +
 +
These variables can be defined either in your default shell configuration file or inside of davinci by using the [[putenv|putenv()]] function.
 
|
 
|
 
davinci recognizes the following command line options:
 
davinci recognizes the following command line options:
  
*'''''-V''' - dump version information''
+
*'''-V''' - dump version information
*'''''-i''' - force interactive mode''
+
*'''-i''' - force interactive mode
*'''''-w''' - don't use X windows''
+
*'''-w''' - don't use X windows
*'''''-q''' - quick startup.  Don't load history or .dvrc''
+
*'''-q''' - quick startup.  Don't load history or .dvrc
*'''''-H''' - force loadig of history, even in quick mode''
+
*'''-H''' - force loading of history, even in quick mode
*'''''-h''' - print this help''
+
*'''-h''' - print this help
*'''''-l logfile''' - use logfile for loading/saving history instead of ./.dvrc''
+
*'''-l logfile''' - use log file for loading/saving history instead of ./.dvlog
*'''''-v N''' - set level of verbosity (0-3) ''
+
*'''-v N''' - set level of verbosity (0-3)
*'''''-f filename''' - execute the specified script and exit ''
+
*'''-f filename''' - execute the specified script and exit
*'''''-e 'command'''' - execute the specified command and exit ''
+
*'''-e 'command'''' - execute the specified command and exit
*'''''--''' indicates this is the last command line option''
+
*'''--''' indicates this is the last command line option
 
*Note: Any --option style options are always passed as $ARGV values
 
*Note: Any --option style options are always passed as $ARGV values
 
}}
 
}}
  
 
[[category:Glossary]]
 
[[category:Glossary]]

Revision as of 15:07, 10 May 2013

Davinci Source and Pre-Compiled Binaries

The Davinci Source is the source code for compiling your own davinci. There are several dependencies which must be met. They are listed on the Compiling Davinci page where links to where to get them are available too. All of the latest versions of davinci will be deposited on this page. These are stable versions and will contain the most up to date files possible. Make sure to take a look at the Davinci Cheat Sheet for some quick references after you install davinci. Also make sure to look at the Tips and Tricks page for some useful davinci features and commands. Finally take a look at the Installation FAQ if you run into any problems while installing your copy of davinci.

Downloads

Precompiled Binaries

Run install_check() once davinci is started to validate installation.


Download Davinci for Mac

Download Davinci for Windows

Download Davinci for Ubuntu

Download Davinci for RedHat/CentOS


Davinci Source

Current Release: svn checkout http://oss.mars.asu.edu/svn/davinci/davinci/trunk

davinci-2.09.tgz -- September 08, 2011

davinci-2.07.tgz -- February 10, 2011

davinci-2.05.tgz -- March 31, 2010

davinci-1.73-2.tgz -- 24 Nov 2008

davinci-1.72.tgz -- 27 May 2008

Release Notes


Instructions

Please see Compiling Davinci for help compiling on Mac OSX 10.4.X and on a Linux installation

Please see the Known Issues page where we call out some demons that might torment you during installation.


Current Davinci Version2.27

Davinci Library

The Davinci Library is a set of files containing all of the specified User Defined Functions that are shown in the DavinciWiki. These files are ".dvrc" files which are loaded into davinci by the source command. While each individual user defined function has its source code attached to it, this is a repository for all of the user defined functions. They are grouped by the task for which they are designed to be used, not unlike the Function Categories page.

Separate downloads were not created for each file. A single .tar file was created which can easily be extracted using several different programs. A description of each file contained has been listed below. In addition to this each file has a list of the functions it contains at the top of the document. To source the file automatically simply create a ".dvrc" file in your home directory and type source("your_file.dvrc"), where "your_file" is the name and path of the file to source. See the Tutorial, User's Guide, and the Davinci Cheat Sheet for more help.

Below is a sample dvrc file that can be used as a .dvrc file in the user's home directory. This file sets up environment variables (paths to examples and scripts, operating systems) along with sourcing the user's default dvrc files and loads modules. See the Tips and Tricks page for more details on input options to davinci.

Downloads

library_02-11-2011.zip -- 11 Feb 2011


Here are sample .inputrc file and .dvrc files

.inputrc (New Mapping)

.inputrc

.dvrc

Library Archive

library_04-02-2010.zip -- 02 April 2010

examples_04-02-2010.zip -- 02 April 2010

library_11-21-2008.zip -- 21 Nov 2008

library_06-02-2008.zip -- 02 June 2008

examples_06-02-2008.zip -- 02 June 2008

library_07-18-2007.zip -- 18 July 2007

examples_07-18-2007.zip -- 18 July 2007

library_06-06-2007.zip

library_04-20-2007.zip

library_04-05-2007.zip

library_02-21-2007.zip


Library Files

The Davinci Library comes with several files separated by category.

Library Files:

  • library_linux.dvrc - Source all library functions on linux platform
  • library_mac.dvrc - Source all library functions on Mac platform
  • library_win.dvrc- Source all library functions on Windows platform
  • library_mars.dvrc - Source all library functions from inside the Mars Space Flight Facility at ASU

Function Files:

  • data_manipulation.dvrc - common data manipulation tools
  • general_science.dvrc - general science functions
  • image_stretch.dvrc - image stretching functions
  • misc.dvrc - Miscellaneous functions.
  • mosaic_tools.dvrc - tools for creating davinci mosaics using ISIS projected files
  • msff.dvrc - Mars Space Flight Facility specific functions
  • plot_tools.dvrc - davinci interface with GnuPlot
  • spectral_tools - spectral calibration and analysis tools
  • themis_science.dvrc - THEMIS science tools
  • tes_science.dvrc - TES science tools
  • crism_science.dvrc - CRISM science tools
  • math.dvrc - basic math functions not included in the davinci core
  • utils.dvrc - dvrc maintenance utilities
  • v_mosaic.dvrc - back end tools for most functions mosaic_tools.dvrc
  • math.dvrc - various math functions that are useful but not included in the Davinci Core
  • constants.dvrc - many commonly used constants for planetary bodies and general physics
  • time.dvrc - contains many useful time conversion functions
  • map_projection.dvrc - contains map projection and image IO functions

Example Files

Davinci no longer ships with examples. This reduces download size and allows us to increase the number of files used.

They are downloaded on demand and no changes to code other than referencing $DV_EX should be needed.

The location of the files is:

http://davinci.asu.edu/examples

Environment Variables

Davinci supports several environment variables indicated below

  • $EDITOR - default text editor
  • $DV_VIEWER - default image viewer
  • $GPLOT_TERM - default terminal for GnuPlot
  • $GPLOT_CMD - command needed to properly invoke GnuPlot
  • $DV_MOD_PATH - path to davinci loadable modules
  • $DVHELP - path to dv.gih
  • $DV_AQUA - enable aqua support for mac
  • $DV_HOME - path to main davinci location
  • $DV_LIB - path to davinci standard library
  • $DV_EX - path to davinci examples web directory
  • $DV_BROWSER - path to web browser for wiki() functionality
  • $DV_KRC - path to the KRC binary
  • $TMPDIR - path to temporary scratch directory
  • $DV_UPDATE_ALLOW - allow updates on the system or not

These variables can be defined either in your default shell configuration file or inside of davinci by using the putenv() function.

Command Line Options

davinci recognizes the following command line options:

  • -V - dump version information
  • -i - force interactive mode
  • -w - don't use X windows
  • -q - quick startup. Don't load history or .dvrc
  • -H - force loading of history, even in quick mode
  • -h - print this help
  • -l logfile - use log file for loading/saving history instead of ./.dvlog
  • -v N - set level of verbosity (0-3)
  • -f filename - execute the specified script and exit
  • -e 'command' - execute the specified command and exit
  • -- indicates this is the last command line option
  • Note: Any --option style options are always passed as $ARGV values

 Wiki Navigation Bar

Last Updated: Feb-2011

  • Use new library_update() function
  • Mac, Windows, Ubuntu, and RedHat/CentOS versions released
  • Updates to the Davinci Library

More News

Personal tools