Functions¶
This lists, and categorises, all functions (not including methods i.e. functions defined in classes) in june. To view methods, find them in the corresponding class. Note these functions can also be viewed in the API reference page for the module they are defined within.
Distributors¶
HDF5 Savers¶
Loads the world from an hdf5 file. All id references are substituted by actual references to the relevant instances. Parameters ———- file_path path of the hdf5 file chunk_size how many units of supergroups to process at a time. It is advise to keep it around 1e6. |
|
|
Loads the world from an hdf5 file. All id references are substituted by actual references to the relevant instances. Parameters ———- file_path path of the hdf5 file chunk_size how many units of supergroups to process at a time. It is advise to keep it around 1e6. |
|
Loads carehomes from an hdf5 file located at |
|
Loads cities from an hdf5 file located at |
|
Loads companies from an hdf5 file located at |
|
Loads geography from an hdf5 file located at |
|
Loads companies from an hdf5 file located at |
|
Loads households from an hdf5 file located at |
Loads infections data from hdf5. |
|
|
Loads the population from an hdf5 file located at |
|
Loads schools from an hdf5 file located at |
|
Loads cities from an hdf5 file located at |
Loads symptoms data from hdf5. |
|
Loads transmissions data from hdf5. |
|
Loads universities from an hdf5 file located at |
|
Loads carehomes from an hdf5 file located at |
|
|
|
Long function to restore geographic attributes to the world’s geography. |
|
Loads households from an hdf5 file located at |
|
Saves the care_homes object to hdf5 format file |
|
|
|
Saves the Population object to hdf5 format file |
|
Saves the households object to hdf5 format file |
|
Saves the Hospitals object to hdf5 format file |
|
Saves the households object to hdf5 format file |
|
Saves infections data to hdf5. |
|
Saves the Population object to hdf5 format file |
|
|
Saves the schools object to hdf5 format file |
|
|
Saves symptoms data to hdf5. |
|
Saves transmissions data to hdf5. |
|
Saves the universities object to hdf5 format file |
|
|
Saves the world to an hdf5 file. |
Paths¶
|
Get a default path when no command line argument is passed. |
|
Get a path input using a flag when the program is run. |
Utilities (utils)¶
|
Parses the age probability dictionaries into an array. |
World¶
|
|
|
Generates cities, super stations, and stations on the given world. |
|
Initializes the world given a geometry. |
Other/miscellaneous¶
|
|
|
Loads the world from an hdf5 file. All id references are substituted by actual references to the relevant instances. Parameters ———- file_path path of the hdf5 file chunk_size how many units of supergroups to process at a time. It is advise to keep it around 1e6. |
|
Send a list of arrays of uint32 integers to all ranks, and receive arrays from all ranks. |
|
Send a list of arrays of uint32 integers to all ranks, and receive arrays from all ranks. |
|