the process of taking a sample is called ​