<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def lattice(self, lattice):
 """ Sets Lattice associated with PeriodicSite """

        self._lattice = lattice
        self._coords = self._lattice.get_cartesian_coords(self._frac_coords)