23 lines
399 B
Python
23 lines
399 B
Python
#!/usr/bin/env python3
|
|
# -*- coding: utf-8 -*-
|
|
"""!
|
|
Author: J.A. de Jong - ASCEE
|
|
|
|
Description: LASP configuration
|
|
"""
|
|
import numpy as np
|
|
|
|
LASP_NUMPY_FLOAT_TYPE = np.float64
|
|
|
|
|
|
def zeros(shape):
|
|
return np.zeros(shape, dtype=LASP_NUMPY_FLOAT_TYPE)
|
|
|
|
|
|
def ones(shape):
|
|
return np.ones(shape, dtype=LASP_NUMPY_FLOAT_TYPE)
|
|
|
|
|
|
def empty(shape):
|
|
return np.empty(shape, dtype=LASP_NUMPY_FLOAT_TYPE)
|