22
33Each shot is a measurement of plasma current as a function of time. The Shot objects contains following attributes:
44
5- 1 . number - unique identifier of a shot (integer)
6- 1 . t_dsirupt - disruption time in milliseconds
7- 1 . ttd - ...
8- 1 . valid - whether plasma current reaches a certain value during the shot
5+ 1 . number - integer, unique identifier of a shot
6+ 1 . t_disrupt - double, disruption time in milliseconds (second column in the shotlist input file)
7+ 1 . ttd - array of doubles, time profile of the shot converted to time-to-disruption values
8+ 1 . valid - boolean, whether plasma current reaches a certain value during the shot
9+ 1 . is_disruptive - boolean,
910
11+
1012For 0D data, each shot is modeled as 2D array - time vs plasma current.
1113
1214## ShotList
@@ -27,6 +29,24 @@ Since shot lengthes are not multiples of the min shot length in general, some no
2729
2830## Chunk
2931
32+ A subset of ` patch ` defined as:
33+ ```
34+ num_chunks = Length of the patch/ num_timesteps
35+ ```
36+ where ` num_timesteps ` is the sequence length fed to the RNN model.
3037
3138## Batch
3239
40+ Mini-batch gradient descent is used to train neural network model.
41+ ` num_batches ` represents the number of * patches* per mini-batch.
42+
43+ ### Batch input shape
44+
45+ The data in batches fed to the Keras model should have shape:
46+
47+ ```
48+ batch_input_shape = (num_chunks*batch_size,num_timesteps,num_dimensions_of_data)
49+ ```
50+
51+ where ` num_dimensions_of_data ` is the signal dimensionality. For 0D dataset we only have a time profile of plasma current,
52+ so ` num_dimensions_of_data = 1 `
0 commit comments