Raptor-Dev Table Lookup Library

From NewEagleWiki
Revision as of 20:08, 15 December 2016 by MHowlett (talk | contribs) (Created page with '{{DISPLAYTITLE:Raptor-Dev Table Lookup Library}} {{Navigation}} Raptor Platform > Raptor-Dev > Raptor-Dev Library > '''Raptor…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

New Eagle > Products Wiki > Raptor Platform > Raptor-Dev > Raptor-Dev Library > Raptor-Dev Table Lookup Library

Raptor™ Table Lookup

The blocks in this subsystem are define, configure, and access application lookup tables.

Blocks

Block Description Appearance
Index to Real

The Raptor Index to Real block is used to convert the fractional index from the Raptor Table Axis block to a floating point value. For example if the index is representing the point half was between the 1st and 2nd value this block will output 0.5.

Index To Real block
Index To Real block
Table 1D

The Raptor Table 1d block is similar to the Matlab 1-D Lookup Table block. This block accepts a value and uses it to output an interpolated value from the table data and a set of breakpoint data. This is similar to the functionality obtained by using the Raptor Table Axis block and Raptor Table Interpolate 1d block. To visualize the initial data in a matlab figure, select the block and then use the raptor_visualize_table() function from the command window.

Table 1D block
Table 1D block
Table 2D

The Raptor Table 2d block is similar to the Matlab 2-D Lookup Table block. This block accepts two values and uses them to output an interpolated value from the table data and two sets of breakpoint data. This is similar to the functionality obtained by using the Raptor Table Axis block and Raptor Table Interpolate 2d block. To visualize the initial data in a matlab figure, select the block and then use the raptor_visualize_table() function from the command window.

Table 2D block
Table 2D block
Table Axis

The Raptor Table Axis is similar to the Matlab Prelookup block. This block calculates the fractional index of the input value into the breakpoint data. Use this block to calculate the index inputs for the Raptor Interpolate 1d and Raptor Interpolate 2d blocks.

Prelookup Table block
Prelookup Table block
Table Axis Reference

References an existing Table Axis block elsewhere in the model. Converts the incoming value to a fractional based on the array of values contained in the referenced Table Axis. For use with Raptor Interpolate 1D and 2D table blocks.

Table Axis Reference block
Table Axis Reference block
Table Interpolation 1D

The Raptor Table Interpolate 1d block is similar to the Matlab Interpolation Using Prelookup block. This block accepts a fractional index and uses it to output an interpolated value from the table data. The Raptor Table Axis block must be used to calculate the fractional indexes. To visualize the initial data in a matlab figure, select the block and then use the raptor_visualize_table() function from the command window.

Table Interpolation 1D block
Table Interpolation 1D block
Table Interpolation 1D Reference

References an existing Table Interpolation 1D block elsewhere in the model.

Table Interpolation 1D block
Table Interpolation 1D block
Table Interpolation 2D

The Raptor Table Interpolate 2d block is similar to the Matlab Interpolation Using Prelookup block. This block accepts two fractional indexes and uses them to output an interpolated value from the table data. The Raptor Table Axis block must be used to calculate the fractional indexes. To visualize the initial data in a matlab figure, select the block and then use the raptor_visualize_table() function from the command window.

Table Interpolation 2D block
Table Interpolation 2D block
Table Interpolation 2D Reference

References an existing Table Interpolation 2D block elsewhere in the model.

Table Interpolation 2D block
Table Interpolation 2D block