Navigation: Displaying and Manipulating Data (Charts) > New (LightningChart) Charts > Smooth/Modify Data

 

Smooth/Modify Data

 

Contact Us: fredsupport@photonengr.com

 

 

 

Description


This feature offers an automated utility for data smoothing from within the chart viewer, allowing such operations as average window smoothing, median window smoothing, radial average smoothing, specified value, and floor/ceiling truncation.

 

This command available in the right mouse click pop-up menu brings up the Smooth Data dialog box.  This dialog provides an environment where the data can be smoothed with various parameters and techniques and while the dialog is open, the data can be restored trivially.

 

 

Navigation


This feature is accessible by right mouse clicking on the active 3D chart view and selecting "Smooth/Modify Data".

 

 

Controls


Control

Inputs

Defaults

Smooth/Modify Operation

Average Window Smoothing

Sets the value of a pixel to the average of the user specified number of nearest neighbor pixels (specified by row, col).  This is equivalent to a numerical convolution.

Default

row = 1, col = 1

Median Window Smoothing

Sets the value of a pixel to the median of the user specified number of nearest neighbor pixels (specified by row, col).  This  maintains the slope whereas the Average Window Smoothing does not.

Not Selected

row = 1, col =  1

Radial Average Smoothing

Perform a radial average by setting pixel values to the average of all the pixels at that radius.

Not Selected

row, col at max value

Set to a specified value region

Reset data in the ranges specified by row, col to the value input by the user.

Not Selected

row min/max = grid range

col min/max = grid range

Truncate to floor/ceiling

Truncate the data in the range specified by row, col by the floor and ceiling values input by the user.

Not selected

row min/max = grid range

col min/max = grid range

floor/ceiling = min/max data

Restore original data

Restore to the original dataset

 Unchecked

Restore original data before performing the operation

If checked, this option will restore to the original dataset before applying the next smoothing operation.

Unchecked

Summary Information

Grid size: Row (X) and Col (Y)

Shows the full grid size.

 

Max value at: Row (X) and Col (Y)

Shows grid coordinates of the max value.

 

 

OK

Accept settings and close dialog box.

 

Cancel

Discard settings and close dialog box.

 

Apply

Apply settings and keep dialog box open. 

 

Help

Access this Help page.

 

 

 

Application Notes


Restoring original data

In a LightningChart chart the original data is saved in it's own grid, and so can be recovered very simply even after the dialog is closed using the restore original data option. This is a key difference between LightningChart and Legacy Charts (which do not offer non-trivial data restoration).

 

 

Related Topics


LightningChart Controls

 

 

 

 

 

Copyright © Photon Engineering, LLC