Software for calculations related to operation control for LuSEE-Night, such power generation and management, data taking (science), comms etc.
Glossary
Devices Included in the simulation
Please see the README
file in the config folder for more detail on how these pieces
of configuration relate to each other.
prep-all
. The main data format used
for this purpose is hdf5.Work in progress -- this folder will keep the material necessary for the creation of the Docker images with OpSim on top of the base luseepy.
docs
folder is reserved for the future documentation website materials (if needed)reference
folder there is a "sandbox" version of the original power
calculation notebook (heavily modified and not to be used for anything practical)
and some requisite inputs. Kept for continuity with the power calculation notebook.LUSEEPY_PATH
contains the path to the luseepy package. If set, its content will be prepended to sys.path.
If not set, the software will depend on the PYTHONPATH
.LUSEEOPSIM_PATH
contains the path to this (OpSim) package, in order to have an unambiguous reference
when running it on top of luseepy
and in other similar situations. If not set, the software will depend on the PYTHONPATH
.
In addition to location the Python modules, this variable is used to locate the data and configuration folders. If not set,
the default will be '..', effectively corresponding to the case when the test scripts are run explicitely from their folder.This software depends of the luseepy suite, plus the simpy
package. This is typically handled
by setting up an appropriate Python virtual environment. The hdf5 interface is provided via the h5py
Python package, which happens to be already in luseepy so no separate installation is required.
In some Debian instances, the lzma
Python package is missing, while it's needed for a
few dependencies to work. One way to fix that is to do the `backport`` package
installation in a virtual environment, and then define the path for it to be referenced,
as shown in the following example:
export PYTHONPATH=/home/maxim/projects/lusee/luseepy:/home/maxim/projects/lusee/opsim:/home/maxim/.virtualenvs/lusee/lib/python3.10/site-packages/backports
The MJD gives the number of days since midnight on November 17, 1858. This date corresponds to 2400000.5 days after day 0 of the Julian calendar. MJD is still in common usage in tabulations by the U. S. Naval Observatory. Care is needed in converting to other time units, however, as a result of the half day offset (unlike the Julian date, the modified Julian date is referenced to midnight instead of noon) and because of the insertion of semiannual leap seconds (which are inserted at midnight).