LASP
1.0
Library for Acoustic Signal Processing
Loading...
Searching...
No Matches
lasp_config.py
Go to the documentation of this file.
1
#!/usr/bin/env python3
2
# -*- coding: utf-8 -*-
3
"""!
4
Author: J.A. de Jong - ASCEE
5
6
Description: LASP configuration
7
"""
8
import
numpy
as
np
9
10
LASP_NUMPY_FLOAT_TYPE = np.float64
11
12
13
def
zeros
(shape):
14
return
np.zeros(shape, dtype=LASP_NUMPY_FLOAT_TYPE, order=
'F'
)
15
16
17
def
ones(shape):
18
return
np.ones(shape, dtype=LASP_NUMPY_FLOAT_TYPE, order=
'F'
)
19
20
21
def
empty(shape):
22
return
np.empty(shape, dtype=LASP_NUMPY_FLOAT_TYPE, order=
'F'
)
lasp.lasp_config.zeros
zeros(shape)
Definition
lasp_config.py:13
src
lasp
lasp_config.py
Generated by
1.9.8