tcra.social package

Submodules

tcra.social.socialanalysis module

The tcra social analysis module contains function to perform social impacts analysis by connecting physical damage to social system.

categorize_area(area)[source]

this function defines base function to estimate number of units in a building.

Parameters:
  • area – building footprint area

  • Floor – no. of story/floor.

Returns:

num

Return type:

returning unit number

categorize_areas(df)[source]

this function assign no of units to building

Parameters:
  • df – inventory

  • area – building footprint area

  • Floor – no. of story/floor.

Returns:

num

Return type:

returning unit number

Module contents