Skip to content

Interface: GlasserAtlasOptions ​

Defined in: src/atlas/NeuroAtlas.ts:57

Options for NeuroAtlas.loadGlasserAtlas.

The Glasser label file has no colours, so each region gets a random colour. seed or rng choose the colours; without either the default seed GLASSER_DEFAULT_COLOR_SEED is used, so colours are the same on every load.

Extends ​

Properties ​

useCache? ​

ts
optional useCache?: boolean;

Defined in: src/atlas/NeuroAtlas.ts:59

Use cached downloads when available (default true).


seed? ​

ts
optional seed?: number;

Defined in: src/utils/rng.ts:22

Seed for the built-in generator (createRng).

Inherited from ​

RandomOptions.seed


rng? ​

ts
optional rng?: Rng;

Defined in: src/utils/rng.ts:24

Custom generator returning uniform numbers in [0, 1). Overrides seed.

Inherited from ​

RandomOptions.rng

Released under the MIT License.