Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(0)  |  Derive(0)  |  Import(2)

src/c/h/chitwanabm-1.5/chitwanabm/agents.py   chitwanabm(Download)
 
from chitwanabm import rc_params
from chitwanabm.statistics import calc_probability_death, \
        calc_probability_migration_simple, calc_first_birth_time, \
        calc_birth_interval, calc_hh_area, calc_des_num_children, \
 
if rcParams['submodel.parameterization.migration'] == 'simple':
    from chitwanabm.statistics import calc_probability_migration_simple as calc_probability_migration
elif rcParams['submodel.parameterization.migration'] == 'zvoleff':
    from chitwanabm.statistics import calc_probability_migration_zvoleff as calc_probability_migration