mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2025-06-23 03:57:57 +02:00
add python bindings for numpy
This commit is contained in:
@ -22,6 +22,7 @@ template <class DataType> class Frame {
|
||||
Frame(ssize_t rows, ssize_t cols);
|
||||
Frame(std::byte *fp, ssize_t rows, ssize_t cols);
|
||||
DataType get(int row, int col);
|
||||
std::vector<std::vector<DataType>> get_array();
|
||||
ssize_t rows() const{
|
||||
return m_rows;
|
||||
}
|
||||
|
Reference in New Issue
Block a user