|
| 1 | +# API Reference |
| 2 | + |
| 3 | +This section provides comprehensive documentation for all HED Python tools modules and classes. |
| 4 | + |
| 5 | +## Core Modules |
| 6 | + |
| 7 | +### [Models](models.md) |
| 8 | +Core data models for working with HED data: |
| 9 | + |
| 10 | +- **HedString**: Represents and validates HED annotation strings |
| 11 | +- **HedTag**: Individual HED tag manipulation |
| 12 | +- **HedGroup**: Grouped HED annotations |
| 13 | +- **Sidecar**: BIDS sidecar file handling |
| 14 | +- **TabularInput**: Spreadsheet and tabular data processing |
| 15 | + |
| 16 | +### [Schema](schema.md) |
| 17 | +HED schema management and validation: |
| 18 | + |
| 19 | +- **HedSchema**: Main schema class for loading and querying schemas |
| 20 | +- **HedSchemaIO**: Schema input/output operations |
| 21 | +- **SchemaComparer**: Compare different schema versions |
| 22 | + |
| 23 | +### [Validator](validator.md) |
| 24 | +Validation tools and error handling: |
| 25 | + |
| 26 | +- **HedValidator**: Main validation engine |
| 27 | +- **ErrorReporter**: Error collection and reporting |
| 28 | +- **ValidationContext**: Validation state management |
| 29 | + |
| 30 | +### [Tools](tools.md) |
| 31 | +Utility tools and scripts: |
| 32 | + |
| 33 | +- **BidsTabularSummary**: BIDS dataset analysis |
| 34 | +- **ReorderColumns**: Spreadsheet manipulation |
| 35 | +- **TagCompareUtil**: Tag comparison utilities |
| 36 | + |
| 37 | +### [Errors](errors.md) |
| 38 | +Error handling and exception classes: |
| 39 | + |
| 40 | +- **HedFileError**: File-related errors |
| 41 | +- **HedExceptions**: General HED exceptions |
| 42 | +- **ErrorMessages**: Error message definitions |
| 43 | + |
| 44 | +## Quick Reference |
| 45 | + |
| 46 | +### Loading and Using Schemas |
| 47 | + |
| 48 | +::: hed.load_schema |
| 49 | + options: |
| 50 | + show_source: true |
| 51 | + |
| 52 | +### Basic Validation |
| 53 | + |
| 54 | +::: hed.HedString |
| 55 | + options: |
| 56 | + show_source: true |
| 57 | + members: |
| 58 | + - __init__ |
| 59 | + - validate |
| 60 | + - remove_definitions |
| 61 | + |
| 62 | +### Working with BIDS Data |
| 63 | + |
| 64 | +::: hed.models.Sidecar |
| 65 | + options: |
| 66 | + show_source: true |
| 67 | + members: |
| 68 | + - __init__ |
| 69 | + - validate |
| 70 | + - extract_definitions |
0 commit comments