Characterization of an erbium-doped fiber amplifier as a light source and development of a near-infrared spectrophotometer based on the EDFA and an acoustooptic tunable filter.