Validator
Connection
Bases: Base
A single connection between two cells.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
pre
|
The pre-synaptic cell |
required | |
post
|
The post-synaptic cell |
required | |
weight
|
The weight of the connection, which could be the number of synapses or a normalized value. |
required |
Source code in cect/validation/Validator.py
389 390 391 392 393 394 395 396 397 398 399 400 401 402 | |
ConnectionList
Bases: Base
A model of a list of connections of a specific synapse type.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
synapse
|
The type of synapse |
required | |
total_nonzero_conns
|
Total nonzero connections |
required | |
total_weight
|
Total weight of connections (optional) |
required | |
num_cells
|
Number of cells (optional) |
required | |
view
|
An optional string specifying a ConnectomeView to use, e.g. Neurons, Pharynx, etc. Numbers of conns will be checked inside that view |
required | |
comment
|
A comment about how the data was found, e.g. taken from a spreadsheet |
required | |
connections
|
The list of connections of this type |
required |
Source code in cect/validation/Validator.py
405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 | |
ReaderExpectedData
Bases: Base
A model of expected data for a specific reader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader
|
The name of the reader |
required | |
connection_lists
|
The list of connection lists for this reader |
required |
Source code in cect/validation/Validator.py
429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 | |
get_connection_list_by_synapse(synapse_type)
Get the connection list for a specific synapse type.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
synapse_type
|
The type of synapse to get the connection list for |
required |
Returns: The connection list for the specified synapse type, or None if not found.
Source code in cect/validation/Validator.py
442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 | |
generate_reader_exp_data_obj(reader_name, source_files, additional_comment='')
A function to generate a ReaderExpectedData object which will list expected data as visually extracted from a source file, e.g. an Excel spreadsheet.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader_name
|
The name of the reader |
required | |
source_files
|
A dict of syn types vs paths to the source files |
required |
Returns:
| Type | Description |
|---|---|
|
A ReaderExpectedData object with the expected data for the reader. |
Source code in cect/validation/Validator.py
464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 | |