Coverage for arrakis/constants.py: 100.0%
8 statements
« prev ^ index » next coverage.py v7.6.12, created at 2025-08-13 15:09 -0700
« prev ^ index » next coverage.py v7.6.12, created at 2025-08-13 15:09 -0700
1# Copyright (c) 2022, California Institute of Technology and contributors
2#
3# You should have received a copy of the licensing terms for this
4# software included in the file "LICENSE" located in the top-level
5# directory of this package. If you did not, you can view a copy at
6# https://git.ligo.org/ngdd/arrakis-python/-/raw/main/LICENSE
8from datetime import timedelta
10import numpy
12DEFAULT_ARRAKIS_SERVER = "grpc://0.0.0.0:31206"
14DEFAULT_MATCH = ".*"
15DEFAULT_TIMEOUT = timedelta(seconds=2)
16DEFAULT_QUEUE_TIMEOUT = timedelta(milliseconds=125)
18MIN_SAMPLE_RATE = 0
19MAX_SAMPLE_RATE = numpy.iinfo(numpy.uint32).max