PPPLDeepLearning / plasma-python

PPPL deep learning disruption prediction package
http://tigress-web.princeton.edu/~alexeys/docs-web/html/
79 stars 43 forks source link

D3d data #13

Closed jnkh closed 7 years ago

jnkh commented 7 years ago

This pull request extends the ability of the code to deal with various sources of data. It introduces the abstractions of

Each of these are objects that carry the relevant information necessary for incorporating them into the overall pipeline. Signals know the Machine they live on, their mds+ paths, code for being downloaded, preprocessing approaches, their dimensionality, etc. Machines know which Signals are defined on them, which mds+ server houses the data, etc.

This required changes in

As such, this adds the following functionality

This pull request also fixes various smaller and unrelated bugs that were uncovered.

1D profiles are currently not supported with the Theano backend, as there is a bug when constructing slicing layers in the model builder. The implementation creates a Keras Lambda layer which performs slicing of the portion of the input data that corresponds to profile information such that it can be fed to the convolutional layers. This slicing only works with Tensorflow. If only 0D signals are used, Theano is supported.