mirror of
https://github.com/jspsych/jsPsych.git
synced 2025-05-10 19:20:55 +00:00
remove internal_node_id references from the docs
This commit is contained in:
parent
d4d4ed33b7
commit
5a1b338d19
@ -351,7 +351,6 @@ If you have tips based on your own experience please consider sharing them on ou
|
|||||||
"trial_type": "image-keyboard-response",
|
"trial_type": "image-keyboard-response",
|
||||||
"trial_index": 4,
|
"trial_index": 4,
|
||||||
"time_elapsed": 30701,
|
"time_elapsed": 30701,
|
||||||
"internal_node_id": "0.0-4.0",
|
|
||||||
"webgazer_data": [
|
"webgazer_data": [
|
||||||
{ "x": 1065, "y": 437, "t": 39},
|
{ "x": 1065, "y": 437, "t": 39},
|
||||||
{ "x": 943, "y": 377, "t": 79},
|
{ "x": 943, "y": 377, "t": 79},
|
||||||
|
@ -230,7 +230,7 @@ var trial = {
|
|||||||
```
|
```
|
||||||
|
|
||||||
!!! note
|
!!! note
|
||||||
You cannot remove the `internal_node_id` and `trial_index` values from the trial data, because these are used internally by jsPsych.
|
You cannot remove the `trial_index` value from the trial data.
|
||||||
|
|
||||||
## Data collected by all plugins
|
## Data collected by all plugins
|
||||||
|
|
||||||
@ -243,7 +243,6 @@ In addition to the data collected by a plugin, there is a default set of data th
|
|||||||
| trial_type | string | The name of the plugin used to run the trial. |
|
| trial_type | string | The name of the plugin used to run the trial. |
|
||||||
| trial_index | numeric | The index of the current trial across the whole experiment. |
|
| trial_index | numeric | The index of the current trial across the whole experiment. |
|
||||||
| time_elapsed | numeric | The number of milliseconds between the start of the experiment and when the trial ended. |
|
| time_elapsed | numeric | The number of milliseconds between the start of the experiment and when the trial ended. |
|
||||||
| internal_node_id | string | A string identifier for the current TimelineNode. |
|
|
||||||
|
|
||||||
## Creating a new plugin
|
## Creating a new plugin
|
||||||
|
|
||||||
|
@ -399,8 +399,8 @@ var last_10_trials = jsPsych.data.get().last(10);
|
|||||||
Returns a DataCollection with all instances of a particular key removed from the dataset.
|
Returns a DataCollection with all instances of a particular key removed from the dataset.
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
// log a csv file that does not contain the internal_node_id values for each trial
|
// log a csv file that does not contain the trial_type values for each trial
|
||||||
console.log(jsPsych.data.get().ignore('internal_node_id').csv());
|
console.log(jsPsych.data.get().ignore('trial_type').csv());
|
||||||
```
|
```
|
||||||
|
|
||||||
#### .join()
|
#### .join()
|
||||||
|
Loading…
Reference in New Issue
Block a user