1
2class AllocationTransform:
3    """
4    Respans the 'expanded' range into the specified (often compressed) range.
5
6    Performs both squeeze (offset) and log transforms.
7    """
8    def __init__(self):
9        pass
10
11    def getAllocation(self):
12        """
13        getAllocation()
14
15        Returns the allocation specified in the transform. Allocation is an
16        enum, defined in Constants.
17
18        :return: Allocation
19        :rtype: string
20        """
21        pass
22
23    def setAllocation(self, hwalloc):
24        """
25        setAllocation(hwalloc)
26
27        Sets the allocation of the transform.
28
29        :param hwalloc: Allocation
30        :type hwalloc: object
31        """
32        pass
33
34    def getNumVars(self):
35        pass
36
37    def getVars(self):
38        """
39        getVars()
40
41        Returns the allocation values specified in the transform.
42
43        :return: allocation values
44        :rtype: list of floats
45        """
46        pass
47
48    def setVars(self, vars):
49        """
50        setVars(pyvars)
51
52        Sets the allocation in the transform.
53
54        :param pyvars: list of floats
55        :type pyvars: object
56        """
57        pass
58