| | 1 | [ShCommands Return to command index] |
| | 2 | |
| | 3 | == create synthetics == |
| | 4 | |
| | 5 | '''command''': CREATE <type> <dt> <length> <amplitude>[<p1>[...<pN>]] |
| | 6 | |
| | 7 | Creates a synthetic trace. There exist different types of traces which can be created (see parameter <type>). |
| | 8 | |
| | 9 | === parameters === |
| | 10 | |
| | 11 | * <type> ''parameter type: string''[[BR]] |
| | 12 | Type of synthetic trace to be created. Valid parameters are: |
| | 13 | * SPIKE - spike trace, spike is positioned at <p1> seconds (time axis) |
| | 14 | * GAUSS - gauss peak at position <p1> seconds, <p2> specifies width |
| | 15 | * EXP - (one sided) exponential peak at <p1> seconds, <p2> = decay |
| | 16 | * SHARP - explosive point source at position <p1>, formula is g(t) = exp( -<p2>*(t-<p1>) * sin(<p3>*(t-<p1>))/<p3> |
| | 17 | * RANDOM - random trace |
| | 18 | |
| | 19 | * <dt> ''parameter type: real''[[BR]] |
| | 20 | Sample distance of trace. |
| | 21 | |
| | 22 | * <length> ''parameter type: real''[[BR]] |
| | 23 | Length of trace in seconds. |
| | 24 | |
| | 25 | * <amplitude> ''parameter type: real''[[BR]] |
| | 26 | Maximum amplitude of trace. |
| | 27 | |
| | 28 | === example === |
| | 29 | |
| | 30 | `CREATE SPIKE .05 30 1 10`:: |
| | 31 | create spike |