# User¶

class bandicoot.User

Data structure storing all the call, text or mobility records of the user.

Attributes

 antennas The purpose of this is to hook into assignments to the user's antenna dictionary, and update records' location based on the new value. has_attributes has_home has_network has_recharges recharges A list of Recharge objects. records Can be used to get or set the list of user's records.

Methods

 describe() Generates a short description of the object, and writes it to the standard output. recompute_home() Return the antenna where the user spends most of his time at night. recompute_missing_neighbors() Recomputes statistics for missing users of the current user's reset_cache() Reset the cache used to groups records when computing indicators. set_home(new_home) Sets the user's home.