openspyrit / spas

Single-Pixel Acquisition Software
https://spas.readthedocs.io/en/latest/
GNU Lesser General Public License v3.0
8 stars 2 forks source link

Handling pattern order in network reconstruction? #4

Open nducros opened 2 years ago

nducros commented 2 years ago

https://github.com/openspyrit/spas/blob/893daf8d7a1d9e79e2569d4c94c1130759ff0af3/spas/reconstruction_nn.py#L70

Pass acquisition_parameters.patterns to the function to initialize the networks using the Ord argument. By default it corresponds to the the diagonal of the covariance matrix.

NB: the network should be trained with the same subset of patterns.