def compute(self, dataset_pool):
        return ln_bounded(self.get_dataset().get_attribute(
            self.commercial_sqft))


#this is a special case of commercial_sqft_within_walking_distance, so the unnittest is there
#the ln_bounded function is tested in ln_commercial_sqft
    def compute(self, dataset_pool):
        return ln_bounded(self.get_dataset().get_attribute(
            "travel_time_weighted_access_to_employment_hbw_am_drive_alone"))


#this is a special case of commercial_sqft_within_walking_distance, so the unnittest is there
#the ln_bounded function is tested in ln_commercial_sqft
    def compute(self, dataset_pool):
        return ln_bounded(self.get_dataset().get_attribute(
            self.average_value_per_unit_wwd))


#this is a special case of average_value_per_housing_unit_within_walking_distance, so the unnittest is there
#the ln_bounded function is tested in ln_commercial_sqft
    def compute(self, dataset_pool):
        return ln_bounded(self.get_dataset().get_attribute(
            self.number_of_jobs_of_sector))


#this is a special case of sector_DDD_jobs_in_faz, so the unnittest is there
#the ln_bounded function is tested in ln_commercial_sqft
Esempio n. 5
0
    def compute(self, dataset_pool):
        return ln_bounded(self.get_dataset().get_attribute(self.variable_name))

#this is a special case of commercial_sqft_within_walking_distance, so the unnittest is there
#the ln_bounded function is tested in ln_commercial_sqft
Esempio n. 6
0
 def compute(self, dataset_pool):
     return ln_bounded(self.get_dataset().get_attribute(self.work_access_to_employment))
Esempio n. 7
0
 def compute(self, dataset_pool):
     return ln_bounded(self.get_dataset().get_attribute(self.work_access_to_population))
Esempio n. 8
0
 def compute(self, dataset_pool):
     res_fraction = self.get_dataset().get_attribute("fraction_residential_land")
     return ln_bounded(res_fraction/(1-res_fraction))
     
Esempio n. 9
0
 def compute(self, dataset_pool):
     return ln_bounded(self.get_dataset().get_attribute(self.home_access_to_employment))
 def compute(self, dataset_pool):
     return ln_bounded(self.get_dataset().get_attribute(self.average_land_value_per_acre_wwd))
 def compute(self, dataset_pool):
     return ln_bounded(self.get_dataset().get_attribute(self.total_improvement_value))
Esempio n. 12
0
 def compute(self, dataset_pool):
     return ln_bounded(self.get_dataset().get_attribute('number_of_jobs'))
    def compute(self, dataset_pool):
        return ln_bounded(self.get_dataset().get_attribute(self.industrial_sqft))

#the ln_bounded function is tested in ln_commercial_sqft
    def compute(self, dataset_pool):
        return ln_bounded(self.get_dataset().get_attribute("travel_time_weighted_access_to_employment_hbw_am_drive_alone"))

#this is a special case of commercial_sqft_within_walking_distance, so the unnittest is there
#the ln_bounded function is tested in ln_commercial_sqft
Esempio n. 15
0
 def compute(self, dataset_pool):
     return ln_bounded(self.get_dataset().get_attribute(self.inc))
Esempio n. 16
0
 def compute(self, dataset_pool):
     return ln_bounded(self.get_dataset().get_attribute(self.inc))
 def compute(self, dataset_pool):
     res_fraction = self.get_dataset().get_attribute(
         "fraction_residential_land")
     return ln_bounded(res_fraction / (1 - res_fraction))
Esempio n. 18
0
    def compute(self, dataset_pool):
        return ln_bounded(self.get_dataset().get_attribute(self.number_of_jobs_of_sector))
        
#this is a special case of sector_DDD_jobs_in_faz, so the unnittest is there
#the ln_bounded function is tested in ln_commercial_sqft
    def compute(self, dataset_pool):
        return ln_bounded(self.get_dataset().get_attribute(self.average_land_value_per_acre_wwd))
        
#this is a special case of average_land_value_per_acre_within_walking_distance, so the unnittest is there
#the ln_bounded function is tested in ln_commercial_sqft
Esempio n. 20
0
 def compute(self, dataset_pool):
     ru = self.get_dataset().get_attribute(self.residential_units)
     return ln_bounded(self.get_dataset().get_attribute(self.residential_improvement_value) /
                       ma.masked_where(ru==0.0, ru.astype(float32)))
Esempio n. 21
0
 def compute(self, dataset_pool):
     return ln_bounded(
         self.get_dataset().get_attribute(
             self.total_residential_value_per_residential_unit_within_walking_distance
             )
         )
Esempio n. 22
0
    def compute(self, dataset_pool):
        return ln_bounded(self.get_dataset().get_attribute(self.distance_to_highway))

#the ln_bounded function is tested in ln_commercial_sqft
 def compute(self, dataset_pool):
     return ln_bounded(self.get_dataset().get_attribute(self.industrial_sqft_wwd))
Esempio n. 24
0
    def compute(self, dataset_pool):
        return ln_bounded(self.get_dataset().get_attribute(self.distance_to_highway))

#the ln_bounded function is tested in ln_commercial_sqft
Esempio n. 25
0
 def compute(self, dataset_pool):
     return ln_bounded(self.get_dataset().get_attribute(self.commercial_sqft))
Esempio n. 26
0
 def compute(self, dataset_pool):
     return ln_bounded(self.get_dataset().get_attribute(
         self.same_sector_jobs_in_faz))
Esempio n. 27
0
 def compute(self, dataset_pool):
     return ln_bounded(self.get_dataset().get_attribute(
         self.home_access_to_population))
Esempio n. 28
0
 def compute(self, dataset_pool):
     return ln_bounded(self.get_dataset().get_attribute(
         self.commercial_sqft))
 def compute(self, dataset_pool):
     return ln_bounded(self.get_dataset().get_attribute(self.residential_units_wwd))
Esempio n. 30
0
    def compute(self, resources):
        return ln_bounded(resources["dataset"].get_attribute(self.nonresidential_improvement_value))
        
#this is a special case of nonresidential_improvement_value, so the unnittest is there
#the ln_bounded function is tested in ln_commercial_sqft
 def compute(self, dataset_pool):
     return ln_bounded(self.get_dataset().get_attribute(self.total_improvement_value))
 def compute(self, dataset_pool):
     return ln_bounded(self.get_dataset().get_attribute(
         self.retail_sector_employment_within_walking_distance))
 def compute(self, dataset_pool):
     ru = self.get_dataset().get_attribute(self.residential_units)
     return ln_bounded(self.get_dataset().get_attribute(
         self.residential_improvement_value) /
                       ma.masked_where(ru == 0.0, ru.astype(float32)))
Esempio n. 34
0
    def compute(self, dataset_pool):
        return ln_bounded(self.get_dataset().get_attribute(self.total_value))
        
#this is a special case of total_value, so the unnittest is there
#the ln_bounded function is tested in ln_commercial_sqft
    def compute(self, dataset_pool):    
        return ln_bounded(self.get_dataset().get_attribute(self.residential_units))

#the ln_bounded function is tested in ln_commercial_sqft        
Esempio n. 36
0
 def compute(self, dataset_pool):
     return ln_bounded(self.get_dataset().get_attribute(self.same_sector_jobs_in_faz))
    def compute(self, dataset_pool):
        return ln_bounded(self.get_dataset().get_attribute(self.total_land_value))
        
#this is a special case of total_land_value, so the unnittest is there
#the ln_bounded function is tested in ln_commercial_sqft
Esempio n. 38
0
    def compute(self, resources):
        return ln_bounded(resources["dataset"].get_attribute(self.nonresidential_improvement_value))
        
#this is a special case of nonresidential_improvement_value, so the unnittest is there
#the ln_bounded function is tested in ln_commercial_sqft
 def compute(self, dataset_pool):
     return ln_bounded(self.get_dataset().get_attribute(self.service_sector_employment_within_walking_distance))
 def compute(self, dataset_pool):    
     return ln_bounded(self.get_dataset().get_attribute(self.residential_units_within_walking_distance))
Esempio n. 41
0
    def compute(self, dataset_pool):
        return ln_bounded(self.get_dataset().get_attribute(self.total_nonresidential_sqft_wwd))

#this is a special case of total_nonresidential_sqft_within_walking_distance, so the unnittest is there
#the ln_bounded function is tested in ln_commercial_sqft
Esempio n. 42
0
    def compute(self, dataset_pool):
        return ln_bounded(self.get_dataset().get_attribute(
            self.industrial_sqft))


#the ln_bounded function is tested in ln_commercial_sqft
Esempio n. 43
0
 def compute(self, dataset_pool):
     return ln_bounded(self.get_dataset().get_attribute('number_of_jobs'))
    def compute(self, dataset_pool):
        return ln_bounded(self.get_dataset().get_attribute(
            self.residential_units))


#the ln_bounded function is tested in ln_commercial_sqft