SupremeSpectro

The SupremeSpectro Plugin v1.4 is now available :

SupremePhoto

The SupremePhoto Plugin v1.4 is now available :

Installing SupremePhoto and SupremeSpectro

SupremePhoto and SupremeSpectro Plugins are based on Matlab codes. Therefore, some preliminary steps are necessary before installing the HIPE plugins.

Matlab Compiler Runtime

The MATLAB Compiler Runtime (MCR) is a standalone set of shared libraries that enables the execution of compiled MATLAB applications or components on computers that do not have MATLAB installed.
The MCR is royalty-free.

The MCR version compatible with the Supreme plugins is the R2012a version. You can download it for your system here:
Matlab Compiler Runtime Installation Files

After the installation, make sure your environment variables are well defined:

Note: In the following, ‹mcr_root› is the directory where MCR is installed on the machine.

Linux systems
On the target machine, add the MCR directory to the environment variable LD_LIBRARY_PATH by issuing the following commands:
For CSH:
setenv MCR_ROOT ‹mcr_root›
setenv LD_LIBRARY_PATH
$LD_LIBRARY_PATH:
    $MCR_ROOT/v717/runtime/glnx86:
    $MCR_ROOT/v717/bin/glnx86:
    $MCR_ROOT/v717/sys/java/jre/glnx86/jre/lib/i386/native_threads:
    $MCR_ROOT/v717/sys/java/jre/glnx86/jre/lib/i386/server:
    $MCR_ROOT/v717/sys/java/jre/glnx86/jre/lib/i386
setenv XAPPLRESDIR $MCR_ROOT/v717/X11/app-defaults

For BASH:
export MCR_ROOT=‹mcr_root›
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$MCR_ROOT/v717/runtime/glnx86
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$MCR_ROOT/v717/bin/glnx86
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$MCR_ROOT/v717/sys/java/jre/glnx86/jre/lib/i386/server
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$MCR_ROOT/v717/sys/java/jre/glnx86/jre/lib/i386
export XAPPLRESDIR=$MCR_ROOT/v717/X11/app-defaults

Linux x86-64 systems
On the target machine, add the MCR directory to the environment variable LD_LIBRARY_PATH by issuing the following commands:
For CSH:
setenv MCR_ROOT ‹mcr_root›
setenv LD_LIBRARY_PATH
$LD_LIBRARY_PATH:
    $MCR_ROOT/v717/runtime/glnxa64:
    $MCR_ROOT/v717/bin/glnxa64:
    $MCR_ROOT/v717/sys/java/jre/glnxa64/jre/lib/amd64/native_threads:
    $MCR_ROOT/v717/sys/java/jre/glnxa64/jre/lib/amd64/server:
    $MCR_ROOT/v717/sys/java/jre/glnxa64/jre/lib/amd64
setenv XAPPLRESDIR $MCR_ROOT/v717/X11/app-defaults

For BASH:
export MCR_ROOT=‹mcr_root›
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$MCR_ROOT/v717/runtime/glnxa64
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$MCR_ROOT/v717/bin/glnxa644
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$MCR_ROOT/v717/sys/java/jre/glnxa64/jre/lib/amd64/native_threads4
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$MCR_ROOT/v717/sys/java/jre/glnxa64/jre/lib/amd64/server4
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$MCR_ROOT/v717/sys/java/jre/glnxa64/jre/lib/amd64
export XAPPLRESDIR=$MCR_ROOT/v717/X11/app-defaults

Mac systems
On the target machine, add the MCR directory to the environment variable DYLD_LIBRARY_PATH by issuing the following commands:

For CSH:
setenv MCR_ROOT ‹mcr_root›
setenv DYLD_LIBRARY_PATH
$DYLD_LIBRARY_PATH:
    $MCR_ROOT/v717/runtime/maci64:
    $MCR_ROOT/v717/bin/maci64:
    $MCR_ROOT/v717/sys/os/maci64:
    /System/Library/Frameworks/JavaVM.framework/JavaVM:
    /System/Library/Frameworks/JavaVM.framework/Libraries
setenv XAPPLRESDIR ‹mcr_root›/v717/X11/app-defaults

For BASH:
export MCR_ROOT=‹mcr_root›
export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:$MCR_ROOT/v717/runtime/maci64
export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:$MCR_ROOT/v717/bin/maci64
export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:$MCR_ROOT/v717/sys/os/maci64
export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:/System/Library/Frameworks/JavaVM.framework/JavaVM
export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:/System/Library/Frameworks/JavaVM.framework/Libraries

export XAPPLRESDIR=$MCR_ROOT/v717/X11/app-defaults

If you launch HIPE from the dock icon, you should add the above lines to ‹hipe installation directory›/bin/_launch.sh
Alternatively, you can add the environment variable to ~/.MacOSX/environment.plist or ~/.launchd.conf, depending on your MacOS version.

NOTE:
To make these changes persistent after logout on Linux or Mac machines, modify the .cshrc file to include this setenv command.
On Windows, the environment variable syntax utilizes backslashes (\), delimited by semi-colons (;).
On Linux or Mac, the environment variable syntax utilizes forward slashes (/), delimited by colons (:).
On Maci64, ensure you are using 64-bit JVM.

Plugins

Photo:
v1.4:
Pointing correction.
Metadata and HistoryTask update.
JAR package for SupremePhoto plugin : SupremePhoto Plugin v1.4
P[S,M,L]W beam files (.fits and .mat) are needed for the SupremePhoto Plugin: Beams files
Note that you can also use your own beam files.

Spectro:
v1.1:
Possibility to combine multiple obsids (available only with HSA). See Script Example #1.
v1.2:
Multiple obsids using HSA and PoolName.
Keeping all the metadata from the observations in the final products.
New task supremeSpectroGetDataFromFits that gets the data from a Spectrum2d fits file instead of an observation (HSA, pool).
New task supremeSpectroIsoResCubes that computes Iso Resolution cubes from SSW and SLW SupremeSpectro cubes for a given wave number.
v1.4:
Pointing correction.
Metadata and HistoryTask update.
JAR package for SupremeSpectro plugin : SupremeSpectro Plugin v1.4

To install the plugins, go to Tools > Plugins, in the pop-up window click on 'Install New …' and enter your computer path to the downloaded .jar or the full address of the links above.

WARNING: If you installed HIPE without HIFI (DP) features, you can have issues installing the plugins.
You should try to reinstall HIPE with HIFI (DP) features tick box checked.