File size: 195 Bytes
d98780c
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
import math

import numpy as np
import torch

NEG_INF = torch.finfo(torch.float32).min
PI = math.pi
SOUND_SPEED = 343  # m/s
EPSILON = np.finfo(np.float32).eps
MAX_INT16 = np.iinfo(np.int16).max