Image-DS9
view release on metacpan or search on metacpan
lib/Image/DS9.pm view on Meta::CPAN
#####################################################################
sub wait { ## no critic(Subroutines::ProhibitBuiltinHomonyms)
my $self = shift;
my $timeout = shift || $self->{StartTimeOut};
my $timeinterval = $self->{WaitTimeInterval};
unless ( $self->nservers ) {
my $cnt = 0;
sleep( $timeinterval )
until ( exists $self->{_process} && !$self->{_process}->alive )
|| $self->nservers >= $self->{min_servers}
|| ( $cnt += $timeinterval ) > $timeout;
}
return $self->nservers >= $self->{min_servers};
}
sub _start_server {
my ( $self, $start_timeout, $query_timeout ) = @_;
lib/Image/DS9/Daemon.pm view on Meta::CPAN
sub Init {
my $self = shift;
my @pid = $self->SUPER::Init( @_ );
$self->{ +__PACKAGE__ }{pids} = \@pid;
## no critic (Community::Wantarray)
# duplicate API from parent
return ( wantarray ? @pid : $pid[0] );
}
sub alive {
my $self = shift;
my @pid = @{ $self->{ +__PACKAGE__ }{pids} };
my @dead = grep { !$self->SUPER::Status( $_ ) } @pid;
return !scalar @dead;
}
sub DESTROY {
my $self = shift;
return unless $self->{terminate_on_destroy};
utils/ref-man-8.5.html view on Meta::CPAN
$xpaget ds9 vo<br>
$xpaget ds9 vo method<br>
$xpaget ds9 vo server<br>
$xpaget ds9 vo internal<br>
$xpaget ds9 vo delay<br>
$xpaget ds9 vo connect<br>
<br>
$xpaset -p ds9 vo method xpa<br>
$xpaset -p ds9 vo server http://foo.bar.edu/list.txt<br>
$xpaset -p ds9 vo internal yes<br>
$xpaset -p ds9 vo delay 15 # keep-alive delay<br>
$xpaset -p ds9 vo chandra-ed<br>
$xpaset -p ds9 vo connect chandra-ed<br>
$xpaset -p ds9 vo disconnect chandra-ed<br>
$xpaset -p ds9 vo open<br>
$xpaset -p ds9 vo close<br></tt>
<p><b><a name="wcs" id="wcs"></a>wcs</b></p>
<p>Controls the World Coordinate System for the current frame. If the wcs system, skyframe, or skyformat is modified, the info panel, compass, grid, and alignment will be modified accordingly. Also, using this access point, a new WCS specification ca...
<tt>Syntax:<br>
wcs [[system] wcs|wcsa...wcsz]<br>
[[sky] fk4|fk5|icrs|galactic|ecliptic]<br>
utils/ref-man-8.5b1.html view on Meta::CPAN
$xpaget ds9 vo<br>
$xpaget ds9 vo method<br>
$xpaget ds9 vo server<br>
$xpaget ds9 vo internal<br>
$xpaget ds9 vo delay<br>
$xpaget ds9 vo connect<br>
<br>
$xpaset -p ds9 vo method xpa<br>
$xpaset -p ds9 vo server http://foo.bar.edu/list.txt<br>
$xpaset -p ds9 vo internal yes<br>
$xpaset -p ds9 vo delay 15 # keep-alive delay<br>
$xpaset -p ds9 vo chandra-ed<br>
$xpaset -p ds9 vo connect chandra-ed<br>
$xpaset -p ds9 vo disconnect chandra-ed<br>
$xpaset -p ds9 vo open<br>
$xpaset -p ds9 vo close<br></tt>
<p><b><a name="wcs" id="wcs"></a>wcs</b></p>
<p>Controls the World Coordinate System for the current frame. If the wcs system, skyframe, or skyformat is modified, the info panel, compass, grid, and alignment will be modified accordingly. Also, using this access point, a new WCS specification ca...
<tt>Syntax:<br>
wcs [[system] wcs|wcsa...wcsz]<br>
[[sky] fk4|fk5|icrs|galactic|ecliptic]<br>
( run in 2.291 seconds using v1.01-cache-2.11-cpan-39bf76dae61 )