Changes between Version 13 and Version 14 of ClassGeospatial_data


Ignore:
Timestamp:
Mar 3, 2009, 7:37:04 AM (15 years ago)
Author:
rwilson
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ClassGeospatial_data

    v13 v14  
    5454|| '''get_sample(indices)''' || Get a new Geo_reference instance containing a sample of points in this instance. '''indices''' contains the ordinals of the points to be placed in the new instance.  Attributes of the sampled points are copied to the new instance. ||
    5555|| '''split(factor=0.5, seed_num=None, verbose=False)''' || Split this instance into two new instances containing a random selection of points. '''factor''' is the fraction of the input instance to be copied into the first split instance. '''seed_num''' is the random seed to use (testing only). If '''verbose''' is True then this method is to be verbose. ||
    56 || '''_ _iter_ _()''' || Allow iteration of the instance over input blocks.  This function sets up ready for the next() method.  This measn that the '''blocking_georef''', '''blocking_keys''' and '''number_of_points''' are read from the file if it is a .pts file, or the '''header''' and '''file_pointer''' are read from the assumed .csv file.  In the .pts case we also initialize variables used for PTS blocking. ||
     56|| '''_ _iter_ _()''' || Allow iteration of the instance over input blocks.  This function sets up ready for the next() method.  This means that the '''blocking_georef''', '''blocking_keys''' and '''number_of_points''' are read from the file if it is a .pts file, or the '''header''' and '''file_pointer''' are read from the assumed .csv file.  In the .pts case we also initialize variables used for PTS blocking. ||
    5757|| '''next()''' || Read another block of data into memory. Return an instance of a new Geospatial_data object containing the data block read. ||
    5858