Tkplay Filters


There are a number of filters available for Tkplay. These include:

List Data (rdf2asc)
Displays data in text form


Usage:  rdf2asc
	-i input_file                 name of the input file
	-o output_file                Output file name, - for stdout
	-s start_col                  first column to list
	-e end_col                    last column to list
	-S start_row                  first row to list
	-E end_row                    last row to list
	-b Ncols                      print data as Ncolumn block
	-f format                     C-style format specification for
				      data values 
	-F format                     C-style format specification for
	                              default tag values 
	-a                            Require all tags to be listed.
	-A                            Require all data points to be listed.
	-t tagname[,tagfmt]           include data from tagname tags, may be
	                              repeated use optional C-style format
				      specification.  Example usage:
				      rdf2asc -t phase,%.1f -t sdev,%g
	

T87 Listing (rdft87)
Produces listing of cross-section values
Usage:  rdft87 -i infile -o outfile [-h]

	-i   infile         specifies the name of the input file,
			    a '-' implies the use of stdin
	-o   outfile        specifiles the name of the output file
			    a '-' implies the use of stdout
	-p                  send listing to the printer
	-h                  help
	

Sum Spectra (rdfgroup)
Builds weighted sums of groups of spectra
Usage:  rdfgroup -i infile -o outfile -g group [-g group ...]  [-p] [-Nh]

	-i infile           specifies the name of the input file,
			    a '-' implies the use of stdin
	-o outfile          specifiles the name of the output file
			    a '-' implies the use of stdout
	-g group            specifies a group to form
			    may be specified multiple times
	-p                  indicates prespecified groups, There should be
			    a GROUPS tag consisting of a series of group
			    specifications belongs.
	-h                  help

	

Remove Baseline (baseline)
Removes a polynomial baseline from data
Usage:  baseline -i infile -o outfile -p polynomial order [-h]

	-i   infile           specifies the name of the input file,
			      a '-' implies the use of stdin
	-o   outfile          specifiles the name of the output file
			      a '-' implies the use of stdout
	-p   polynomial order The order of the fitted polynomial.
	-h                    help

	

Assign Cross Sections (rdfcross)
Calculate or re-calculate spectrum cross section values.
Usage:  rdfcross -i infile -o outfile  [-h]

	-i   infile         specifies the name of the input file,
			    a '-' implies the use of stdin
	-o   outfile        specifiles the name of the output file
			    a '-' implies the use of stdout
	-h                  help

	

Smooth Frequency (rdffs)
Convolves spectral data with a frequency filter to smooth out high frequency noise.
Usage:  rdffs -i infile -o outfile [-h]

	-i   infile         specifies the name of the input file,
			    a '-' implies the use of stdin
	-o   outfile        specifiles the name of the output file
			    a '-' implies the use of stdout
	-e   efb            the effective bandwidth requested, in Hz
	-h                  help
	

Smooth Phase (rdfphsmo)
Averages spectra within a phase window
Usage:  rdfphsmo -i infile -o outfile [-h]

	-i   infile         specifies the name of the input file,
			    a '-' implies the use of stdin
	-o   outfile        specifiles the name of the output file
			    a '-' implies the use of stdout
	-f   firstPhase     The initial phase on which to center the
	                    smoothing window
	-s   phaseStep      The separation, in degrees of phase smoothing
	                    windows.
	-w   phaseWindow    The width, in degrees of the phase smoothing
	                    window.
	-h                  help
	

Apply New Phases (newphase)
Recalculates and applies new phase values for spectra
Usage:  newphase -i infile -o outfile -e epoch -p period [-h]

	-i   infile         specifies the name of the input file,
			    a '-' implies the use of stdin
	-o   outfile        specifiles the name of the output file
			    a '-' implies the use of stdout
	-e   epoch          Julian date of the zero epoch
	-p   period         rotational period, in hours
	-t   timetag        Use this as the time tag instead of the default RCSTA
	-b   bias           Time offset used before assigning phases

	-h                  help
	

Change Tag (rdftags)
Change RDF index tag values in every spectrum
Usage:  rdftags -i infile -o outfile -t tagname -v value [-t tagname -v value...] [-h]

	-i   infile         specifies the name of the input file,
			    a '-' implies the use of stdin
	-o   outfile        specifiles the name of the output file
			    a '-' implies the use of stdout
	-t   tagname        set tag "tagname" to have the specified
			    value
	-v   value          set every spectrum to have this value for
			    the specified tag.
	-h                  help
	

PolarPlot sdev vs. phase (rdfphaseplot)
Generates phase data to be plotted in a polar graph
Usage:  rdfphaseplot -i infile -o outfile [-f frame] [-h]

	-i   infile         specifies the name of the input file,
			    a '-' implies the use of stdin
	-f   frame          Frame to use
	-h                  help
	

Fold Data (rdffold)
Folds the data
Usage:  rdffold -i infile -o outfile [-h]

	-i   infile         specifies the name of the input file,
			    a '-' implies the use of stdin
	-o   outfile        specifiles the name of the output file
			    a '-' implies the use of stdout
	-h                  help
	

Plot Spectra (rdffreqplot)
Generates frequency data suitable for plotting
Usage:  rdffreqplot -i infile [-f frame] [-b] [-c] [-S] [-r r_start -R r_end]|[-s index [-s index...]]|[-a] [-h]

	-i   infile         specifies the name of the input file,
			    a '-' implies the use of stdin
	-f   frame          Use the specified frame(s) as the source
			    for data.  May be specified more than once.
	-b                  Use bin index for the X coordinates.
	-c                  Use radar cross section for the Y coordinates.
	-S                  Add tickmark at x=xjcen, y=+-1 sdev.
	-r   r_start        Set the start of a range of spectra to plot.
	-R   r_end          Set the end of a range of spectra to plot.
	-s   index          Plot a single spectrum.  May be used more
			    than once on the command line to specify
			    a non-contiguous set of spectra.
	-a                  Plot every spectrum.
	-h                  help
	

Plot Noise (rdfnoisehist)
Plots noise histograms and equivalent-area guassians
Usage:  rdfnoisehist -i infile -o outfile [-f frame] [-s spectrum] [-n nbins] [-h]

	-i   infile         specifies the name of the input file,
			    a '-' implies the use of stdin
	-f   frame           Use data from the specified frame only
	-s   spectrum        Use data from the specified spectrum only
	-n   bins            Use this number of bins for counting data
	-h                  help
	

Noise Statistics (rdfnoisestats)
Calculate noise statistics
Usage:  rdfnoisestats -i infile -f frame [-h]

	-i   infile         specifies the name of the input file,
			    a '-' implies the use of stdin
	-f   frame          Use spectra from this frame only
	-h                  help

	

Graph Text Strings (rdfttplot)
Displays tag values on a graph
Usage:  rdfttplot -i infile [-p position] -f frame -t tagid[,format] [-t tagid[,format]...] [-r r_start -R r_end]|[-s index [-s index...]]|[-a] [-h]

	-i   infile         specifies the name of the input file,
			    a '-' implies the use of stdin
	-p   position        Position of the first tag label.  Format as
	                    2 signed numbers:  +0+0, +25-13, -5-8.  The
			    first number is the x offset, the second is
			    the y offset.  Positive numbers are measured
			    from the left/top of the graph, negative
			    numbers from the right/bottom.
	-f   frame          Use the specified frame(s) as the source
			    for data.  May be specified more than once.
	-r   r_start        Set the start of a range of spectra to plot.
	-R   r_end          Set the end of a range of spectra to plot.
	-s   index          Plot a single spectrum.  May be used more
			    than once on the command line to specify
			    a non-contiguous set of spectra.
	-a                  Plot every spectrum.
	-t   tagid[,format] Display the value of 'tagid' using the C-style format 'format'
	-h                  help
	

Plot Tags (rdftagplot)
Allows the user to plot one tag value against another
Usage:  rdftagplot -i infile -o outfile [-f frame] [-x tagid] -y tagid [-s] [-h]

	-i   infile         specifies the name of the input file,
			    a '-' implies the use of stdin
	-x   tagname        Use tagname for the x axis
	-y   tagname        Use tagname for the y axis
	-f   frame          Use data from this frame
	-s                  Create a scatter plot instead of a line plot
	-h                  help
	

DC Line Removal (rdf0DC)
Interpolates across bin 0 of RDF format files to remove DC spike
Usage:  rdf0DC -i infile -o outfile [-h]

	-i   infile         specifies the name of the input file,
			    a '-' implies the use of stdin
	-o   outfile        specifiles the name of the output file
			    a '-' implies the use of stdout
	-h                  help
	

Vignette Data (rdfvin)
Remove columns from the start and/or end of the data
Usage:  rdfvig -i infile -o outfile [-s startcols] [-e endcols] [-h]

	-i   infile         specifies the name of the input file,
			    a '-' implies the use of stdin
	-o   outfile        specifiles the name of the output file
			    a '-' implies the use of stdout
	-s   startcols      specifiles the number of columns to strip at
			    the beginning of the data
	-e   endcols        specifiles the number of columns to strip at
			    the end of the data
	-h                  help
	

Delete Spectra (rdfdelete)
Delete spectra and/or frames from an RDF
Usage:  rdfdelete -i infile -o outfile -s spec1 [-s spec2...] [-f frame1 [-f frame2...]] [-h]

	-i   infile         specifies the name of the input file,
			    a '-' implies the use of stdin
	-o   outfile        specifiles the name of the output file
			    a '-' implies the use of stdout
	-f   frame          Delete this frame (may be specified more than once)
	-s   spec           Delete this spectrum from all frames (may be
	                    specified more than once)
	-h                  help
	

Sort Spectra (rdfsort)
Sort the rows of a RDF file based on tag values
Usage:  rdfsort -i infile -o outfile [-r] -t tagid [-h]

	-i   infile         specifies the name of the input file,
			    a '-' implies the use of stdin
	-o   outfile        specifiles the name of the output file
			    a '-' implies the use of stdout
	-t   tagname        sort file using the values for this tag
	-r                  sort in reverse (decreasing) order
	-h                  help
	

Splice Files (rdfsplice)
Merge spectra from different files into one file.
Usage:  rdfsplice -i infile1 [-i infile2...] -o outfile [-h]

	-i   infile         specifies the name of the input file,
			    a '-' implies the use of stdin
	-o   outfile        specifiles the name of the output file
			    a '-' implies the use of stdout
	-h                  help
	

Math operations (rdfmath)
Perform simple math operations on RDF data
Usage:  rdfmath -i infile -o outfile [-a val] [-s val] [-m val] [-d val] [-h]

	-i   infile         specifies the name of the input file,
			    a '-' implies the use of stdin
	-o   outfile        specifiles the name of the output file
			    a '-' implies the use of stdout
	-a   value          add 'value' to every spectrum element
	-s   value          subtract 'value' from every spectrum element
	-m   value          multiply every spectrum element by 'value'
	-d   value          divide every spectrum element by 'value'
	-h                  help
	

Add Model (rdfaddmodel)
Add a model Lambert sphere to a spectrum
Usage:  rdfaddmodel -i infile -o outfile -c center -b bandwidth -f frame [-s] [-h]

	-i   infile         specifies the name of the input file,
			    a '-' implies the use of stdin
	-o   outfile        specifiles the name of the output file
			    a '-' implies the use of stdout
	-c   center         Center the model on this element
	-b   bandwidth      The full bandwidth of the model, in elements
	-f   frame          Add a model to the spectrum in this frame
	-s                  Substitute the noise with the model.
	-h                  help
	

Edge Detection (rdfedge)
Detect the edges of the signal in spectral data
Usage:  rdfedge -i infile -o outfile -t threshold [-j] [-g] [-f n] [-c center] [-p period] [-h]

	-i   infile         specifies the name of the input file,
			    a '-' implies the use of stdin
	-o   outfile        specifiles the name of the output file
			    a '-' implies the use of stdout
	-f   n              Use spectral data in frame 'n'
	-j                  Use the XJCEN tag for the center element (default)
	-g                  Use the largest gap as the signal.  Default
			    is to use an explicitly set center element.
	-c   center         explicitly set the center element.  If not
			    specified then the value for XJCEN is used.
	-t   n              crossing threshold for edge detection
	-p   period         period of target.  Use this to override
			    the internal 'period' tag
	-F   freq           Transmit frequency in MHz.  Defaults to 8510 MHz
	-h                  help
	
Plot Hulls (rdfhull)
Estimate hulls and plot at multiple center frequencies.
Usage:  rdfhull -i infile -f frame -n n_params -e n_est -c n_cen -r right -l left -s scale -E error -R rocmin [-F] [-C] [-S] [-x] [-X] [-y] [-Y] [-b] [-B] [-h]

	-i   infile         specifies the name of the RDF input file,
			    a '-' implies the use of stdin
	-f   frame          Use the specified frame(s) as the source for this hull
	-n   n_params       number of parameters to fit
	-e   n_est          number of fitted points to estimate.
	-c   n_cen          number of centers to span.
	-r   right          The rightmost element at which to place a center.
	-l   left           The leftmost element at which to place a center.
	-s   scale          The points on the hull are multiplied by
                            this units/bin scale factor
	-E   error          An error of sdev*factor is used to define the
                            support function error
	-R   rocmin         The minumum radius of curvature allowed on a
                            constrained hull
	-F                  Generate graphing data for free-fit hulls
	-C                  Generate graphing data for constrained-fit hulls
	-S                  Support function should be plotted
	-x                  Generate graphing data for free-fit chisquare vector
	-X                  Generate graphing data for constrained-fit chisquare vector
	-y                  Plot the fourier model for the free-fit hull
	-Y                  Plot the fourier model for the constrained-fit hull
	-b                  Plot the hull bandwidth as a function of phase
	-B                  Plot the hull center frequency as a function of phase
	-h                  help
	


[Prev] [Top] [Next]