You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -1161,15 +1164,15 @@ Remapping can be used to convert the column containing these codes into one or m
1161
1164
| *destination_columns* | list | A list of *n* names of the destination columns for the map. |
1162
1165
| *map_list* | list | A list of mappings. Each element is a list of *m* source <br/>column values followed by *n* destination values.<br/> Mapping source values are treated as strings. |
1163
1166
| *ignore_missing* | bool | If false, source column values not in the map generate "n/a"<br/> destination values instead of errors. |
1164
-
| *integer_sources* | list | [**Optional**] A list of source columns that are integers.<br/> The *integer_sources* must be a subset of *source_columns*. |
1167
+
| *integer_sources* | list | (**Optional**) A list of source columns that are integers.<br/> The *integer_sources* must be a subset of *source_columns*. |
1165
1168
```
1166
1169
A column cannot be both a source and a destination,
1167
1170
and all source columns must be present in the data files.
1168
1171
New columns are created for destination columns that are missing from a data file.
1169
1172
1170
1173
The *remap_columns* operation only works for columns containing strings or integers,
1171
1174
as it is meant for remapping categorical codes.
1172
-
You must specify the which source columns contain integers so that `n/a` values
1175
+
You must specify which source columns contain integers so that `n/a` values
1173
1176
can be handled appropriately.
1174
1177
1175
1178
The *map_list* parameter specifies how each unique combination of values from the source
@@ -1490,6 +1493,7 @@ The results of executing the previous *reorder_columns* transformation on the
1490
1493
1491
1494
The *split_rows* operation
1492
1495
is often used to convert event files from trial-level encoding to event-level encoding.
1496
+
This operation is meant only for tabular files that have `onset` and `duration` columns.
1493
1497
1494
1498
In **trial-level** encoding, all the events in a single trial
1495
1499
(usually some variation of the cue-stimulus-response-feedback-ready sequence)
@@ -1515,7 +1519,6 @@ In this case a trial consists of a sequence of multiple events.
1515
1519
1516
1520
```
1517
1521
1518
-
1519
1522
The *split_rows* operation requires an *anchor_column*, which could be an existing
1520
1523
column or a new column to be appended to the data.
1521
1524
The purpose of the *anchor_column* is to hold the codes for the new events.
@@ -1651,7 +1654,7 @@ all summaries.
1651
1654
| ------------ | ---- | ----------- |
1652
1655
| *summary_name* | str | A unique name used to identify this summary.|
1653
1656
| *summary_filename* | str | A unique file basename to use for saving this summary. |
1654
-
| *append_timecode* | bool | (Optional) If True, append a time code to filename.<br/>False is the default. |
1657
+
| *append_timecode* | bool | (**Optional**: Default false) If true, append a time code to filename. |
1655
1658
```
1656
1659
1657
1660
(summarize-column-names-example-anchor)=
@@ -1730,11 +1733,11 @@ The following table lists the parameters required for using the summary.
1730
1733
| ------------ | ---- | ----------- |
1731
1734
| *summary_name* | str | A unique name used to identify this summary.|
1732
1735
| *summary_filename* | str | A unique file basename to use for saving this summary. |
1733
-
| *skip_columns* | list | A list of column names to omit from the summary.|
1734
-
| *value_columns* | list | A list of columns to omit the listing unique values. |
1735
-
| *append_timecode* | bool | (Optional) If True, append a time code to filename.<br/>False is the default.|
1736
-
| *max_categorical* | int | (Optional) If given, the text summary shows top *max_categorical* values.<br/>Otherwise the text summary displays all categorical values.|
1737
-
| *values_per_line* | bool | (Optional) If given, the text summary displays this <br/>number of values per line (default is 5).|
1736
+
| *append_timecode* | bool | (**Optional**: Default false) If True, append a time code to filename. |
1737
+
| *max_categorical* | int | (**Optional**: Default 50) If given, the text summary shows top *max_categorical* values.<br/>Otherwise the text summary displays all categorical values.|
1738
+
| *skip_columns* | list | (**Optional**) A list of column names to omit from the summary.|
1739
+
| *value_columns* | list | (**Optional**) A list of columns to omit the listing unique values.|
1740
+
| *values_per_line* | int | (**Optional**: Default 5) If given, the text summary displays this <br/>number of values per line (default is 5).|
1738
1741
1739
1742
```
1740
1743
@@ -1866,10 +1869,11 @@ The following table lists the parameters required for using the summary.
1866
1869
| ------------ | ---- | ----------- |
1867
1870
| *summary_name* | str | A unique name used to identify this summary.|
1868
1871
| *summary_filename* | str | A unique file basename to use for saving this summary. |
1869
-
| *append_timecode* | bool | (Optional) If True, append a time code to filename.<br/>False is the default.|
1872
+
| *append_timecode* | bool | (**Optional**: Default false) If true, append a time code to filename.|
1870
1873
```
1871
1874
1872
-
The *summarize_definitions* is mainly meant for verifying consistency in unknown `Def-expand` tags. This comes up where you have an assembled dataset, but no longer have the definitions stored (or never created them to begin with).
1875
+
The *summarize_definitions* is mainly meant for verifying consistency in unknown `Def-expand` tags.
1876
+
This comes up where you have an assembled dataset, but no longer have the definitions stored (or never created them to begin with).
1873
1877
1874
1878
1875
1879
(summarize-definitions-example-anchor)=
@@ -2029,10 +2033,10 @@ The *summarize_hed_tags* operation has the two required parameters
2029
2033
| *summary_name* | str | A unique name used to identify this summary.|
2030
2034
| *summary_filename* | str | A unique file basename to use for saving this summary. |
2031
2035
| *tags* | dict | Dictionary with category title keys and tags in that category as values. |
2032
-
| *append_timecode* | bool | (Optional) If True, append a time code to filename.<br/>False is the default.|
2033
-
| *include_context* | bool | (Optional) If true, expand the event context to <br/>account for onsets and offsets. |
2034
-
| *replace_defs* | bool | (Optional) If true, the `Def` tags are replaced with the<br/>contents of the definition (no `Def` or `Def-expand`). |
2035
-
| *remove_types* | list | (Optional) A list of types (such as `Condition-variable` and `Task` to remove. |
2036
+
| *append_timecode* | bool | (**Optional**: Default false) If true, append a time code to filename.|
2037
+
| *include_context* | bool | (**Optional**: Default true) If true, expand the event context to <br/>account for onsets and offsets. |
2038
+
| *replace_defs* | bool | (**Optional**: Default true) If true, the `Def` tags are replaced with the<br/>contents of the definition (no `Def` or `Def-expand`). |
2039
+
| *remove_types* | list | (**Optional**) A list of types such as `Condition-variable` and `Task` to remove. |
2036
2040
```
2037
2041
2038
2042
The *tags* dictionary has keys that specify how the user wishes the tags
@@ -2159,7 +2163,7 @@ This summary provides useful information about experimental design.
2159
2163
| *summary_name* | str | A unique name used to identify this summary.|
2160
2164
| *summary_filename* | str | A unique file basename to use for saving this summary. |
2161
2165
| *type_tag* | str | Tag to produce a summary for (most often *condition-variable*).|
2162
-
| *append_timecode* | bool | (Optional) If True, append a time code to filename.<br/>False is the default.|
2166
+
| *append_timecode* | bool | (**Optional**: Default false) If true, append a time code to filename.|
2163
2167
```
2164
2168
In addition to the two standard parameters (*summary_name* and *summary_filename*),
2165
2169
the *type_tag* parameter is required.
@@ -2251,8 +2255,8 @@ If *check_for_warnings* is false, the summary will not report warnings.
2251
2255
| ------------ | ---- | ----------- |
2252
2256
| *summary_name* | str | A unique name used to identify this summary.|
2253
2257
| *summary_filename* | str | A unique file basename to use for saving this summary. |
2254
-
| *append_timecode* | bool | (Optional) If True, append a time code to filename.<br/>False is the default.|
2255
-
| *check_for_warnings* | bool | (Optional) If true, warnings are reported in addition to errors.<br/>False is the default.|
2258
+
| *append_timecode* | bool | (**Optional**: Default false) If true, append a time code to filename.|
2259
+
| *check_for_warnings* | bool | (**Optional**: Default false) If true, warnings are reported in addition to errors.|
2256
2260
```
2257
2261
The *summarize_hed_validation* is a HED operation and the calling program must provide a HED schema version
2258
2262
and usually a JSON sidecar containing the HED annotations.
@@ -2622,13 +2626,13 @@ since the names specified in the first parameter are meant to represent the quer
2622
2626
The check only takes place if `query_names` exists, since naming is handled automatically otherwise.
0 commit comments