~mrol-dev/mrol/trunk

« back to all changes in this revision

Viewing changes to mrol_mapping/mapper.py

  • Committer: Vikas Dhiman
  • Date: 2012-03-12 18:24:32 UTC
  • mfrom: (16.1.11 trunk)
  • Revision ID: wecacuee@gmail.com-20120312182432-all2q2rb80mzbzhj
Merging Julians changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
176
176
    def get_voxels(self, level=-1):
177
177
        '''Returns the (almost) raw voxel information together
178
178
        with the resolution of the voxelisation.'''
 
179
        import pdb; pdb.set_trace()
179
180
        voxels = self.mrol.getvoxels(level=level)
180
181
        resolution = self.mrol.getresolution(level=level)
181
 
        return voxels, resolution
 
182
        return voxels[0], voxels[1], resolution
182
183
            
183
184
    def get_points(self, level=-1):
184
185
        '''Returns the map as a point cloud of the voxel centers. If the