Raptor-Dev-Table-Lookup: Difference between revisions
(Created page with 'Return to the main Raptor page Return to the Essential Libraries page [[File:RaptorTableLookup.png|right|frame|Raptor Table Lookup…') |
No edit summary |
||
(10 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
[[ | {{DISPLAYTITLE:Raptor-Dev Table Lookup Library}} | ||
{{Navigation}} [[Raptor-Platform | Raptor Platform]] > [[Raptor-Dev]] > [[Raptor-Dev-Libraries | Raptor-Dev Library]] > '''Raptor-Dev Table Lookup Library''' | |||
[[File:RaptorTableLookup.png|right|frame|Raptor™ Table Lookup]] | |||
[[File:RaptorTableLookup.png|right|frame| | |||
<p>The blocks in this subsystem are define, configure, and access application lookup tables.</p> | <p>The blocks in this subsystem are define, configure, and access application lookup tables.</p> | ||
Line 26: | Line 25: | ||
| [[file:RaptorTable2D.jpg|frameless|border|Table 2D block|center]] | | [[file:RaptorTable2D.jpg|frameless|border|Table 2D block|center]] | ||
|- | |- | ||
! <h5>[[Raptor: | ! <h5>[[Raptor:Table Axis|Table Axis]]</h5> | ||
| <p>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.</p> | | <p>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.</p> | ||
| [[file:RaptorPrelookupTable.jpg|frameless|border|Prelookup Table block|center]] | | [[file:RaptorPrelookupTable.jpg|frameless|border|Prelookup Table block|center]] | ||
|- | |||
! <h5>[[Raptor:Table Axis Reference|Table Axis Reference]]</h5> | |||
| <p>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. | |||
</p> | |||
| [[file:RaptorTableAxisReference.PNG|frameless|border|Table Axis Reference block|center]] | |||
|- | |- | ||
! <h5>[[Raptor:Table Interpolation 1D|Table Interpolation 1D]]</h5> | ! <h5>[[Raptor:Table Interpolation 1D|Table Interpolation 1D]]</h5> | ||
| <p>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.</p> | | <p>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.</p> | ||
| [[file:RaptorTableInterpolation1D.jpg|frameless|border|Table Interpolation 1D block|center]] | | [[file:RaptorTableInterpolation1D.jpg|frameless|border|Table Interpolation 1D block|center]] | ||
|- | |||
! <h5>[[Raptor:Table Interpolation 1D Reference|Table Interpolation 1D Reference]]</h5> | |||
| <p>References an existing Table Interpolation 1D block elsewhere in the model.</p> | |||
| [[file:RaptorTableInterpolation1DReference.PNG|frameless|border|Table Interpolation 1D block|center]] | |||
|- | |- | ||
! <h5>[[Raptor:Table Interpolation 2D|Table Interpolation 2D]]</h5> | ! <h5>[[Raptor:Table Interpolation 2D|Table Interpolation 2D]]</h5> | ||
| <p>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.</p> | | <p>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.</p> | ||
| [[file:RaptorTableInterpolation2D.jpg|frameless|border|Table Interpolation 2D block|center]] | | [[file:RaptorTableInterpolation2D.jpg|frameless|border|Table Interpolation 2D block|center]] | ||
|- | |||
! <h5>[[Raptor:Table Interpolation 2D Reference|Table Interpolation 2D Reference]]</h5> | |||
| <p>References an existing Table Interpolation 2D block elsewhere in the model.</p> | |||
| [[file:RaptorTableInterpolation2DReference.PNG|frameless|border|Table Interpolation 2D block|center]] | |||
|} | |} |
Latest revision as of 13:03, 1 September 2016
New Eagle > Products Wiki > Raptor Platform > Raptor-Dev > Raptor-Dev Library > Raptor-Dev Table Lookup Library
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. |
|
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 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 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. |
|
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 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 Reference |
References an existing Table Interpolation 1D block elsewhere in the model. |
|
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 Reference |
References an existing Table Interpolation 2D block elsewhere in the model. |