Terahertz rays can penetrate most common materials without substantial attenuation. By reflecting the terahertz pulse off of a liquid sample, presence of biological contamination in an aseptically packaged product can be detected. This is particularly important when the product is being given to weak or compromised patients, like premature infants or those with severe infections.
Using terahertz it is possible to image objects while still inside the container. Tablets can be examined for weight conformity while inside their blister packs, and powdered antibiotics can be non-destructively examined inside their packages for contaminants.