Skip to content

edgeType.json, subjects.json, visInfo.json

Eric Denovellis edited this page Dec 7, 2015 · 5 revisions

These three files define basic information for labeling.

subjects.json

This file gives information about the subject as well as the corresponding brain image.

  • subjectID: corresponds to a unique identifying key for a subject
  • brainFilename: name of associated brain image file
  • brainXLim: array containing minimum and maximum x-coordinates for the brain image file. Defines a relative coordinate system.
  • brainYLim: array containing minimum and maximum y-coordinates for the brain image file. Defines a relative coordinate system.
  • brainXpixels: width of the brain image
  • brainYpixels: height of the brain image
[
	{
		"subjectID": "D",
		"brainFilename": "brainImage_D.png",
		"brainXLim": [-67.08,115.79],
		"brainYLim": [-46.00,78.01],
		"brainXpixels": 576.00,
		"brainYpixels": 391.00
	},
	{
		"subjectID": "E",
		"brainFilename": "brainImage_E.png",
		"brainXLim": [-99.24,68.25],
		"brainYLim": [-52.26,78.85],
		"brainXpixels": 576.00,
		"brainYpixels": 451.00
	}
]

edgeType.json

Gives information about the edge statistic.

  • edgeStatID: unique identifying key for a particular edge statistic. No spaces preferred.
  • edgeStatName: human readable label name for the edge statistic.
  • isFreq: true/false logical indicating if the edge statistic is over time only (e.g. if the edge statistic is correlation set to false) or if it contains frequency information (such as coherence, set to true).
  • isWeightedNetwork: true/false logical indicating if the edge statistic is a weighted network (set to true) or a binary network (set to false).
  • units: describes the units of the edge statistic
  • description: describes the statistic in more detail
[
	{
		"edgeStatID": "rawDiff_coh",
		"edgeStatName": "Coherence difference",
		"isFreq": 1.00,
		"isWeightedNetwork": 1.00,
		"units": "Coherence difference",
		"description": "Coh(Speech) - Coh(Silence)"
	},
	{
		"edgeStatID": "C2s_coh",
		"edgeStatName": "Two-sided binary coherence",
		"isFreq": 1.00,
		"isWeightedNetwork": 0.00,
		"units": "-1: Speech<Silence; 0: No difference; 1: Speech>Silence",
		"description": "Two-sided test for H_0: zhat=0"
	}
]

visInfo.json

Describes units and labels for time, frequency and brain regions.

  • tax: time axis labels
  • fax: frequency axis labels
  • tunits: units for time
  • funits: units for frequency
  • brainRegions: an array of names for brain regions.
{
	"tax": [-400.00,-397.50,-395.00],
	"fax": [0.00,5.00,10.00],
	"tunits": "ms",
	"funits": "Hz",
	"brainRegions": [
		"Rolandic",
		"Auditory",
		"aSMG"
	]
}