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
示例#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
示例#6
0
 def compute(self, dataset_pool):
     return ln_bounded(self.get_dataset().get_attribute(self.work_access_to_employment))
示例#7
0
 def compute(self, dataset_pool):
     return ln_bounded(self.get_dataset().get_attribute(self.work_access_to_population))
示例#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))
     
示例#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))
示例#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
示例#15
0
 def compute(self, dataset_pool):
     return ln_bounded(self.get_dataset().get_attribute(self.inc))
示例#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))
示例#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
示例#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)))
示例#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
             )
         )
示例#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))
示例#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
示例#25
0
 def compute(self, dataset_pool):
     return ln_bounded(self.get_dataset().get_attribute(self.commercial_sqft))
示例#26
0
 def compute(self, dataset_pool):
     return ln_bounded(self.get_dataset().get_attribute(
         self.same_sector_jobs_in_faz))
示例#27
0
 def compute(self, dataset_pool):
     return ln_bounded(self.get_dataset().get_attribute(
         self.home_access_to_population))
示例#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))
示例#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)))
示例#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        
示例#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
示例#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))
示例#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
示例#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
示例#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