Class CheckpointContent
- Namespace
- DotFly.Core.Checkpoints
- Assembly
- DotFly.Core.dll
In-memory representation of everything that goes into a .dfb file. Produced by the
builders in DotFly.Data and consumed by DfbWriter.
public sealed class CheckpointContent
- Inheritance
-
CheckpointContent
- Inherited Members
Properties
BodyIds
Body / root IDs, one per neuron, in neuron-index order.
public required ulong[] BodyIds { get; init; }
Property Value
- ulong[]
ClassIndex
Class string indices.
public required uint[] ClassIndex { get; init; }
Property Value
- uint[]
Columns
CSR column indices (postsynaptic neuron index), sorted ascending within each row.
public required int[] Columns { get; init; }
Property Value
- int[]
EdgeCount
Number of directed edges.
public long EdgeCount { get; }
Property Value
FlywireTypeIndex
FlyWire cross-reference type string indices.
public required uint[] FlywireTypeIndex { get; init; }
Property Value
- uint[]
HemibrainTypeIndex
Hemibrain cross-reference type string indices.
public required uint[] HemibrainTypeIndex { get; init; }
Property Value
- uint[]
InstanceIndex
Instance string indices.
public required uint[] InstanceIndex { get; init; }
Property Value
- uint[]
NeuronCount
Number of neurons.
public int NeuronCount { get; }
Property Value
Neurotransmitters
Neurotransmitter per neuron.
public required Neurotransmitter[] Neurotransmitters { get; init; }
Property Value
Provenance
Provenance record.
public required Provenance Provenance { get; init; }
Property Value
RowPtr
CSR row pointers, length N+1.
public required long[] RowPtr { get; init; }
Property Value
- long[]
Sets
Named neuron sets.
public required IReadOnlyList<NeuronSet> Sets { get; init; }
Property Value
Sides
Side per neuron.
public required Side[] Sides { get; init; }
Property Value
- Side[]
Soma
Soma coordinates, 3 ints per neuron, MinValue when unknown.
public required int[] Soma { get; init; }
Property Value
- int[]
Strings
String table referenced by the annotation columns.
public required StringTable Strings { get; init; }
Property Value
SuperclassIndex
Superclass string indices.
public required uint[] SuperclassIndex { get; init; }
Property Value
- uint[]
TypeIndex
Cell type string indices.
public required uint[] TypeIndex { get; init; }
Property Value
- uint[]
Weights
CSR weights: signed contact counts.
public required short[] Weights { get; init; }
Property Value
- short[]
Methods
Validate()
Validates internal consistency; throws on the first violation.
public void Validate()