.:tutorials Boxplot:home: Difference between revisions

From ADPAA
Jump to navigation Jump to search
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
=How to Create Boxplots with Aplot or Cplot2=
=How to Create Boxplots with Aplot or Cplot2=


This tutorial uses data from the 19 September 2017 flight found on ADTAE.  
This tutorial uses data from the 19 September 2017 flight found on ADTAE (../TestData/FlightData/20170919_202436/PostProcessing).  


==Step 1: Gather Information==
==Step 1: Gather Information==
Line 36: Line 36:
Example:
Example:
   cplot2 outputstats time_min = 74248 time_max = 74669 y_para = 4 stats_file = 17_09_19_20_24_36.basic.aimms_TAS.stats  17_09_19_20_24_36.basic.1Hz
   cplot2 outputstats time_min = 74248 time_max = 74669 y_para = 4 stats_file = 17_09_19_20_24_36.basic.aimms_TAS.stats  17_09_19_20_24_36.basic.1Hz
  cplot2 outputstats time_min = 74963 time_max = 75160 y_para = 4 stats_file = 17_09_19_20_24_36.basic.aimms_TAS.stats  17_09_19_20_24_36.basic.1Hz
  cplot2 outputstats time_min = 75469 time_max = 75880 y_para = 4 stats_file = 17_09_19_20_24_36.basic.aimms_TAS.stats  17_09_19_20_24_36.basic.1Hz
  cplot2 outputstats time_min = 75967 time_max = 76345 y_para = 4 stats_file = 17_09_19_20_24_36.basic.aimms_TAS.stats  17_09_19_20_24_36.basic.1Hz
  cplot2 outputstats time_min = 76462 time_max = 76948 y_para = 4 stats_file = 17_09_19_20_24_36.basic.aimms_TAS.stats  17_09_19_20_24_36.basic.1Hz

Latest revision as of 11:26, 11 April 2025

How to Create Boxplots with Aplot or Cplot2

This tutorial uses data from the 19 September 2017 flight found on ADTAE (../TestData/FlightData/20170919_202436/PostProcessing).

Step 1: Gather Information

Need to know the start time, stop time, x- and y-parameter numbers in the input file. The parameter numbers can be found using 'listparas' command.

Listparas example:

 listparas 17_09_19_20_24_36.basic.1Hz

Listparas example output:

 1) Air_Temp
 2) MachNo_N
 3) IAS
 4) AIMMS_TAS
 5) Press_Alt
 6) Pot_Temp_T1
 7) IAS_A
 8) CIP_TAS
 9) Density
10) TCritWing
11) TCritIcing

Step 2: Generate the statistics file.

Aplot

This feature is still currently under development in Aplot.

Cplot2

For each time period use the following command to generate the mean, standard deviation, 5-, 25- 50-, 75- and 90-percentiles, number of samples in the time period, minimum, and maximum statistics:

 cplot2 outputstats time_min = start_time time_max = stop_time y_para = y_parameter_number stats_file = output_statistics_file_name input_file_name

Example:

 cplot2 outputstats time_min = 74248 time_max = 74669 y_para = 4 stats_file = 17_09_19_20_24_36.basic.aimms_TAS.stats  17_09_19_20_24_36.basic.1Hz
 cplot2 outputstats time_min = 74963 time_max = 75160 y_para = 4 stats_file = 17_09_19_20_24_36.basic.aimms_TAS.stats  17_09_19_20_24_36.basic.1Hz
 cplot2 outputstats time_min = 75469 time_max = 75880 y_para = 4 stats_file = 17_09_19_20_24_36.basic.aimms_TAS.stats  17_09_19_20_24_36.basic.1Hz
 cplot2 outputstats time_min = 75967 time_max = 76345 y_para = 4 stats_file = 17_09_19_20_24_36.basic.aimms_TAS.stats  17_09_19_20_24_36.basic.1Hz
 cplot2 outputstats time_min = 76462 time_max = 76948 y_para = 4 stats_file = 17_09_19_20_24_36.basic.aimms_TAS.stats  17_09_19_20_24_36.basic.1Hz