Skip to content

SOA-ILEC-Demo/ILECTools

Repository files navigation

ILEC Tools

Tools for processing and reporting on ILEC data, especially those used for

Subpackages

  • data_prep: downloading, preprocessing 2021 data
  • rollforward: rollforward computation and presentation, used for the 2019 ValAct presentation
  • decomp_trend: Trend of study year exposure or other metrics by decomposition, used for the 2019 ValAct presentation
  • a2t

See the notebooks in the directory sample_notebooks for examples of use.

Installation

Please use an environment manager. To leave your environment untouched you can add the ILECTools directory to your system path:

import sys
sys.path.append('ILECTools') # specify the path as needed
import ilectools
# now you're good to go

Environment management

An "environment" is a set of various packages, all of which have their own versions. Not all package versions are compatible with each other so it is important to keep track of what you are doing. The notebooks have been tested in an environment which conda-users should be able to duplicate with the included environment specification files in the env subdirectory. I intend for you to be able to create the ilec0 environment on your machine with this command:

conda env create -f environment.yml # of course include any path you need to the yml file

These sample notebooks were run on machines with 32gb RAM, Ubuntu 20.04, with a 32gb swapfile. Your mileage may vary! You can see in the environment specs that Python 3.10.4 was used. Miniforge was used for environment management, as opposed to miniconda or the Anaconda python distribution. Pay attention to your licenses always.

For more on environment management with conda:

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages