CXC::DS9::Server - Image::DS9 subclass with controlled lifetime of server
version 0.01
use CXC::DS9::Server; { # attach to an existing ds9 process or attach to a new one. my $server = CXC::DS9::Server->new( { kill_on_destroy => 1 } ); } # now the ds9 process is no more
CXC::DS9::Server is a subclass of Image::DS9 which takes care of starting a ds9 process if there is no existent one it can connect to.
It has the added feature of optionally terminating the ds9 process when the CXC::DS9::Server object is destroyed.
$server = CXC::DS9::Server->new( \%attrs );
Connect to an existing ds9 process or create a new one. It accepts the same arguments as does "new" in Image::DS9, with the following additional ones:
ds9
kill_on_destroy
If true, the ds9 process will be terminated when the object is destroyed.
Please see those modules/websites for more information related to this module.
CXC::DS9::Utils
Diab Jerius <djerius@cfa.harvard.edu>
This software is Copyright (c) 2017 by Smithsonian Astrophysical Observatory.
This is free software, licensed under:
The GNU General Public License, Version 3, June 2007
To install CXC::DS9::Utils, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CXC::DS9::Utils
CPAN shell
perl -MCPAN -e shell install CXC::DS9::Utils
For more information on module installation, please visit the detailed CPAN module installation guide.