<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def working2analysis(self,r):
        "Transform working space inputs to the analysis color space."
        a = self.colorspace.convert(self.working_space, self.analysis_space, r)
        return self.swap_polar_HSVorder[self.analysis_space](a)