File: array.py

package info (click to toggle)
python-pdal 2.1.8%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 568 kB
  • sloc: python: 358; cpp: 349; makefile: 9
file content (8 lines) | stat: -rw-r--r-- 192 bytes parent folder | download
1
2
3
4
5
6
7
8
import numpy as np
from pdal import libpdalpython

class Array(object):
    """A Numpy Array that can speak PDAL"""

    def __init__(self, data):
        self.p = libpdalpython.PyArray(data)