azcam_ds9/ds9display.py
def xpaget(self, command):
        """
        Issue xpaget command for ds9.
        Returns data as a list of space deliminated items.

        :param str command: command string for xpaget command
        :return: Return value
        """

        ds9 = self.host + ":" + self.port + " "

        cmd = self.xpaget_app + " " + ds9 + command

        # execute XPA command
        p = subprocess.Popen(
            cmd,
            stdout=subprocess.PIPE,
            stderr=subprocess.PIPE,
            shell=True,
        )
        stdout, stderr = p.communicate()
        stdout = stdout.decode("utf-8")

        return stdout

        Issue xpaget command for ds9.
        Returns data as a list of space deliminated items.

        :param str command: command string for xpaget command
        :return: Return value
        
Issue xpaget command for ds9.
Returns data as a list of space deliminated items.
Issue xpaget command for ds9 . Returns data as a list of space deliminated items .
def xpaget(self, command):
        ds9 = self.host + ":" + self.port + " "
        cmd = self.xpaget_app + " " + ds9 + command
        p = subprocess.Popen(
            cmd,
            stdout=subprocess.PIPE,
            stderr=subprocess.PIPE,
            shell=True,
        )
        stdout, stderr = p.communicate()
        stdout = stdout.decode("utf-8")
        return stdout
def xpaget ( self , command ) : ds9 = self . host + ":" + self . port + " " cmd = self . xpaget_app + " " + ds9 + command p = subprocess . Popen ( cmd , stdout = subprocess . PIPE , stderr = subprocess . PIPE , shell = True , ) stdout , stderr = p . communicate ( ) stdout = stdout . decode ( "utf-8" ) return stdout
Issue xpaget command for ds9.
Issue xpaget command for ds9 .
"""
        Issue xpaget command for ds9.
        Returns data as a list of space deliminated items.

        :param str command: command string for xpaget command
        :return: Return value
        """ # execute XPA command
None
self
command
command string for xpaget command
command string for xpaget command