IDL data analysis pipeline for the FIRST instrument