Simulated dataset for training, validation, and testing

KT Kitsada Thadson
SV Sarinporn Visitsattapongse
SP Suejit Pechprasarn
request Request a Protocol
ask Ask a question
Favorite

Here, simulated data were employed to train the CAN network. It will be shown later that the trained network can be employed to analyze experimental data and provide the expected phase profile. The dataset simulation is based on Fresnel’s equation31 and the transfer matrix approach31,45, calculating the reflection and transmission coefficients (Fig. S1). Materials’ parameters, including the gold refractive index (nm) and the thickness (dm), the sample refractive index (ns), were varied to generalize the SPR phenomenon for network training accommodating for errors and discrepancies in experimental measurements. The parameters consist of random gold film thickness in a range of 20 to 60 nm (Fig. S2), random incident wavelength in a range of 550 to 650 nm, the refractive index of the gold46 nm of 0.18 + 3.44i with ± 10% error in real part and imaginary part, and random refractive index of the sample ns in a range of 1.0 to 1.4 as labeled in Fig. 2. The simulated BFP was cropped to only one quadrant (256 × 256 pixels), as shown in Fig. 4. All four quadrants carry redundant information due to symmetry in the BFP of the uniform sample. There were 1000 input and output image pairs in each dataset for training and validation. The dataset was further separated to 90% and 10% ratio for training and validation, respectively.

Simulated data for n0 of 1.52, nm of 0.18 + 3.44i, dm of 45 nm, ns of 1.00, and l0 of 633 nm for (a) full BFP amplitude image (512 × 512 pixels) before cropping, (b) BFP amplitude input (256 pixels × 256 pixels), and (b) BFP phase output (256 pixels × 256 pixels).

The dataset consists of 2 types of simulated images, including the BFP image input data and the corresponding phase output of the BFP. The phase profiles of the BFP were employed as the label for supervised learning.

The dataset preparation process is shown in Fig. 5. Firstly, the amplitude of BFP and phase of BFP were computed using the Fresnel equations and the transfer matrix approach. These images were then read during CAN network training and validation.

Dataset preparation flowchart.

For testing the networks, the gold thicknesses of 30 nm, 40 nm, 45 nm, and 50 nm, the incident wavelength of 633 nm, and the sample refractive index range from 1.00 (air) to 1.372 (liquid BSA-protein11) were excluded from the dataset for training and validation to test the performance of the trained network.

Do you have any questions about this protocol?

Post your question to gather feedback from the community. We will also invite the authors of this article to respond.

0/150

tip Tips for asking effective questions

+ Description

Write a detailed description. Include all information that will help others answer your question including experimental processes, conditions, and relevant images.

post Post a Question
0 Q&A