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"""!
4Author: J.A. de Jong - ASCEE
5
6Description: LASP configuration
7"""
8import numpy as np
9
10LASP_NUMPY_FLOAT_TYPE = np.float64
11
12
13def zeros(shape):
14 return np.zeros(shape, dtype=LASP_NUMPY_FLOAT_TYPE, order='F')
15
16
17def ones(shape):
18 return np.ones(shape, dtype=LASP_NUMPY_FLOAT_TYPE, order='F')
19
20
21def empty(shape):
22 return np.empty(shape, dtype=LASP_NUMPY_FLOAT_TYPE, order='F')