;+ ;Procedure: thm_crib_mva ; ;Purpose: A crib on showing how to transform into minimum variance ;analysis coordinates ;Notes: ; ; $LastChangedBy: jimmpc $ ; $LastChangedDate: 2009-05-29 15:10:52 -0700 (Fri, 29 May 2009) $ ; $LastChangedRevision: 6004 $ ; $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/thmsoc/tags/tdas_5_11/idl/themis/examples/thm_crib_mva.pro $ ;- del_data,'*' ;timespan,'2007-07-10/07:48:00',16,/minute timespan,'2007-07-10/08:10:00',22,/minute thm_load_fgm,probe='c',coord='gse' ;default call just makes a single transformation matrix that covers ;the entire interval minvar_matrix_make,'thc_fgs_gse',tstart='2007-07-10/07:54:00',tstop='2007-07-10/07:56:30' tvector_rotate,'thc_fgs_gse_mva_mat','thc_fgs_gse',newname='mva_data_day' tplot,'thc_fgs_gse mva_data_day' ;tlimit,'2007-05-30/10:00:00','2007-05-30/14:00:00' print,'Heres the fgm data translated into mva coordinates using a single transformation matrix' stop timespan,'2007-07-10/07:30:00',1,/hour thm_load_fgm,probe='c',coord='gse' minvar_matrix_make,'thc_fgs_gse',twindow=600,tslide=300 tvector_rotate,'thc_fgs_gse_mva_mat','thc_fgs_gse',newname='mva_data_hour' tplot,'thc_fgs_gse mva_data_hour' print,'Heres the fgm data translated into mva coordinates using a different transformation every hour' stop minvar_matrix_make,'thc_fgs_gse',twindow=300,tslide=150 tvector_rotate,'thc_fgs_gse_mva_mat','thc_fgs_gse',newname='mva_data_min' tplot,'mva_data_min' print,'Heres the fgm data translated into mva coordinates using a different transformation every 5 minutes' stop tplot,'mva_data_*' print,'Heres all 3' end