Download data/blocks/_backup/DELAYV_f.json from notsn/XCos_MCP: direct link, hf CLI and curl.
- Browser
- Download file 4.36 kB
-
https://huggingface.co/spaces/notsn/XCos_MCP/resolve/main/data/blocks/_backup/DELAYV_f.json
- Command line
-
hf download hf://spaces/notsn/XCos_MCP/data/blocks/_backup/DELAYV_f.json
-
curl -L -o DELAYV_f.json https://huggingface.co/spaces/notsn/XCos_MCP/resolve/main/data/blocks/_backup/DELAYV_f.json
4.36 kB
| { | |
| "name": "DELAYV_f", | |
| "description": "Variable delay block - delayed output based on a variable delay time input", | |
| "category": "Continuous", | |
| "blockType": "d", | |
| "tag": "BasicBlock", | |
| "interfaceFunctionName": "DELAYV_f", | |
| "simulationFunctionName": "delayv", | |
| "simulationFunctionType": "TYPE_1", | |
| "dependsOnU": 1, | |
| "dependsOnT": 0, | |
| "geometry": { | |
| "width": 60, | |
| "height": 40 | |
| }, | |
| "parameters": { | |
| "exprs": { | |
| "data": [ | |
| ["1"], | |
| ["0;0;0;0;0;0;0;0;0;0"], | |
| ["1"] | |
| ] | |
| }, | |
| "realParameters": { | |
| "data": [ | |
| ["0.1"] | |
| ] | |
| }, | |
| "integerParameters": {}, | |
| "nbZerosCrossing": 0, | |
| "nmode": 0, | |
| "state": [], | |
| "dState": { | |
| "data": [ | |
| ["0.0", "0.0", "0.0", "0.0", "0.0", "0.0", "0.0", "0.0", "0.0", "0.0", "0.0"] | |
| ] | |
| } | |
| }, | |
| "ports": { | |
| "explicitInputs": [ | |
| { | |
| "ordering": 1, | |
| "dataType": "REAL_MATRIX", | |
| "dataColumns": 1, | |
| "dataLines": 1, | |
| "initialState": 0.0, | |
| "style": "ExplicitInputPort;align=left;verticalAlign=middle;spacing=10.0" | |
| }, | |
| { | |
| "ordering": 2, | |
| "dataType": "REAL_MATRIX", | |
| "dataColumns": 1, | |
| "dataLines": 1, | |
| "initialState": 0.0, | |
| "style": "ExplicitInputPort;align=left;verticalAlign=middle;spacing=10.0" | |
| } | |
| ], | |
| "explicitOutputs": [ | |
| { | |
| "ordering": 1, | |
| "dataType": "REAL_MATRIX", | |
| "dataColumns": 1, | |
| "dataLines": 1, | |
| "initialState": 0.0, | |
| "style": "ExplicitOutputPort;align=right;verticalAlign=middle;spacing=10.0" | |
| } | |
| ], | |
| "control": [ | |
| { | |
| "ordering": 1, | |
| "dataType": "REAL_MATRIX", | |
| "dataColumns": 1, | |
| "dataLines": 1, | |
| "initialState": 0.0, | |
| "style": "ControlPort;align=center;verticalAlign=top;spacing=10.0" | |
| } | |
| ], | |
| "command": [ | |
| { | |
| "ordering": 1, | |
| "dataType": "REAL_MATRIX", | |
| "dataColumns": 1, | |
| "dataLines": 1, | |
| "initialState": 0.0, | |
| "style": "CommandPort;align=center;verticalAlign=bottom;spacing=10.0" | |
| }, | |
| { | |
| "ordering": 2, | |
| "dataType": "REAL_MATRIX", | |
| "dataColumns": 1, | |
| "dataLines": 1, | |
| "initialState": -1.0, | |
| "style": "CommandPort;align=center;verticalAlign=bottom;spacing=10.0" | |
| } | |
| ] | |
| }, | |
| "xmlExample": "<BasicBlock id=\"...\" parent=\"...\" interfaceFunctionName=\"DELAYV_f\" blockType=\"d\" dependsOnU=\"1\" dependsOnT=\"0\" simulationFunctionName=\"delayv\" simulationFunctionType=\"TYPE_1\" style=\"DELAYV_f\"><ScilabString as=\"exprs\" height=\"3\" width=\"1\"><data line=\"0\" column=\"0\" value=\"1\"/><data line=\"1\" column=\"0\" value=\"0;0;0;0;0;0;0;0;0;0\"/><data line=\"2\" column=\"0\" value=\"1\"/></ScilabString><ScilabDouble as=\"realParameters\" height=\"1\" width=\"1\"><data line=\"0\" column=\"0\" realPart=\"0.1\"/></ScilabDouble><ScilabInteger as=\"nbZerosCrossing\" height=\"1\" width=\"1\" intPrecision=\"sci_int32\"><data line=\"0\" column=\"0\" value=\"0\"/></ScilabInteger><ScilabInteger as=\"nmode\" height=\"1\" width=\"1\" intPrecision=\"sci_int32\"><data line=\"0\" column=\"0\" value=\"0\"/></ScilabInteger><ScilabDouble as=\"dState\" height=\"1\" width=\"11\"><data line=\"0\" column=\"0\" realPart=\"0.0\"/><data line=\"0\" column=\"1\" realPart=\"0.0\"/><data line=\"0\" column=\"2\" realPart=\"0.0\"/><data line=\"0\" column=\"3\" realPart=\"0.0\"/><data line=\"0\" column=\"4\" realPart=\"0.0\"/><data line=\"0\" column=\"5\" realPart=\"0.0\"/><data line=\"0\" column=\"6\" realPart=\"0.0\"/><data line=\"0\" column=\"7\" realPart=\"0.0\"/><data line=\"0\" column=\"8\" realPart=\"0.0\"/><data line=\"0\" column=\"9\" realPart=\"0.0\"/><data line=\"0\" column=\"10\" realPart=\"0.0\"/></ScilabDouble><mxGeometry as=\"geometry\" x=\"0.0\" y=\"-10.0\" width=\"60.0\" height=\"40.0\"/></BasicBlock>", | |
| "anomalies": [ | |
| "Non-standard width (60)", | |
| "Uses TYPE_1 simulation function", | |
| "Requires a clock/event input to operate", | |
| "dState size depends on the buffer length" | |
| ], | |
| "criticalRules": [ | |
| "Input 1 is the signal, Input 2 is the delay time", | |
| "Requires event input for internal buffer updates" | |
| ], | |
| "commonUses": [ | |
| "Modeling transport delays with variable velocity" | |
| ], | |
| "relatedBlocks": [ | |
| "DELAY_f", | |
| "VARIABLE_DELAY" | |
| ] | |
| } | |