-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
34 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# -*- Mode: python; tab-width: 4; indent-tabs-mode:nil; coding:utf-8 -*- | ||
# vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4 fileencoding=utf-8 | ||
# | ||
# Basicrta | ||
# Copyright (c) 2024 Ricky Sexton | ||
# | ||
# Released under the GNU Public Licence, v3 or any higher version | ||
# | ||
# Please cite your use of basicrta in published work: | ||
# | ||
|
||
""" | ||
Location of data files for the basicrta unit tests | ||
==================================================== | ||
from basicrta.tests.datafiles import * | ||
""" | ||
|
||
__all__ = [ | ||
"times" # set of residence times collected from W313 of b2ar | ||
] | ||
|
||
from importlib import resources | ||
import numpy as np | ||
import basicrta.tests.data | ||
|
||
_data_ref = resources.files('basicrta.tests.data') | ||
|
||
times = np.load((_data_ref / 'times.npy').as_posix()) | ||
# This should be the last line: clean up namespace | ||
del resources | ||
|