Below is a short recipe for filtering and restoration. Note that arguments given are only examples. U means to execute Unix scripts in the Unix window, M mean to execute Midas scripts in the Midas window. Please also note that the commands must be given sequentially, since some commands depend on the output from the previous step.