Main content start

subsampling and resampling methods