Diagnosis of Astrophysical Flows