azcam_ds9/ds9display.py
def xpaset(self, command) -> None:
        """
        Issue xpaset command for ds9.

        :param str command: command string for xpaset command

        """

        ds9 = self.host + ":" + self.port + " "
        cmd = self.xpaset_app + " -p " + ds9 + command

        cmd = cmd.replace("\\\\", "/")
        cmd = cmd.replace("/", "\\")

        # execute XPA command
        p = subprocess.Popen(
            cmd,
            stdout=subprocess.PIPE,
            stderr=subprocess.PIPE,
            shell=True,
        )
        stdout, stderr = p.communicate()

        return

        Issue xpaset command for ds9.

        :param str command: command string for xpaset command

        
Issue xpaset command for ds9.
Issue xpaset command for ds9 .
def xpaset(self, command) -> None:
        ds9 = self.host + ":" + self.port + " "
        cmd = self.xpaset_app + " -p " + ds9 + command
        cmd = cmd.replace("\\\\", "/")
        cmd = cmd.replace("/", "\\")
        p = subprocess.Popen(
            cmd,
            stdout=subprocess.PIPE,
            stderr=subprocess.PIPE,
            shell=True,
        )
        stdout, stderr = p.communicate()
        return
def xpaset ( self , command ) -> None : ds9 = self . host + ":" + self . port + " " cmd = self . xpaset_app + " -p " + ds9 + command cmd = cmd . replace ( "\\\\" , "/" ) cmd = cmd . replace ( "/" , "\\" ) p = subprocess . Popen ( cmd , stdout = subprocess . PIPE , stderr = subprocess . PIPE , shell = True , ) stdout , stderr = p . communicate ( ) return
Issue xpaset command for ds9.
Issue xpaset command for ds9 .
"""
        Issue xpaset command for ds9.

        :param str command: command string for xpaset command

        """ # execute XPA command
self
command
command string for xpaset command
command string for xpaset command