RadCluster
Graph-based cluster dynamics for irradiated materials
Loading...
Searching...
No Matches
Namespaces | Functions | Variables
plan.py File Reference

Go to the source code of this file.

Namespaces

namespace  plan
 

Functions

dict plan.load_ledger ()
 
tuple plan.detect (machine_index=None)
 
list plan.build_commands (str stage, dict machine, dict reg, int slots, float budget_h, list share, int grid_v=2000, int grid_vbin=20)
 
tuple plan.residual_rank (dict led)
 
tuple plan.pick_levers (dict led, list worst, int n_wanted=3)
 
 plan.box_for (str col, dict led, float base)
 
float plan.usable_span (str col, dict led, float base, int prefer)
 
list plan.levels_for (str col, float base, int n, int prefer=0, box=None)
 
int plan.prefer_for (str col, str obs, ratio)
 
dict plan.parse_box_override (str spec)
 
tuple plan.build_design (dict led, list levers, list n_levels, str stage, int row_base, list why=None, dict box_override=None)
 
 plan.cost_key (dict cm, dict machine)
 
dict plan.estimate_cost (dict led, dict machine, int n_rows)
 
 plan.main (argv=None)
 

Variables

 plan.encoding
 
 plan.errors
 
 plan.HERE = Path(__file__).resolve().parent
 
str plan.LEDGER = HERE / "calibration_ledger.json"
 
str plan.MACHINES = HERE / "machines.json"
 
dict plan.LEVER_MAP
 
dict plan.DIRECTION
 
dict plan.PRIOR_BOX
 
dict plan.VALIDITY_BOX
 
float plan.MIN_USABLE_SPAN = 0.10
 
dict plan.INTEGER_COLS = {"i_mobile", "v_mobile", "i_discrete", "v_discrete"}
 
dict plan.BOOKKEEPING
 
dict plan.INTEGER_LEVERS = {"i_mobile"}