This article contains all of the data and codes nessary to reproduce the results from the paper:

####################################################################################################################
Hybrid Microfibre-Lithium Niobate Nanowaveguide Structures as High Purity Heralded Single Photon Sources
Philip Main, Peter J Mosley, Wei Ding, Lijian Zhang and Andriy V. Gorbach
####################################################################################################################
For queries about the contents of this repository please email: P.B.Main@bath.ac.uk

The files should be more or less self explanitary.

The folder Data contains subfolders for each of the figures in the paper and 

Fig 2: 
Fig2_XData.csv: contains the signal waveguide axis (the pump axis is signal/2).
Fig2_YData.csv: contains the effective index of the two pump and signal modes. 

Fig 3: 
Fig3_a_inset_XData.csv
This contains the data on wavelength from the xaxis   
Fig3_a_inset_YData.csv
As above
Fig3_a_inset_ZData.csv
Contains the spectral intesity as a function of signal and idler wavelengths. 

Fig3_a_XData.csv
Fig3_a_YData.csv
Fig3_a_ZData.csv
Phasematching function. 

Fig3_b_LeftAxis_Xdata.csv
wavelength as plotted on x axis. 
Fig3_b_LeftAxis_Ydata.csv
Purity as a function of wavelength
Fig3_b_RightAxis_Xdata.csv
pump wavelength
Fig3_b_RightAxis_Ydata.csv
signal and idler wavelength. 

Fig 4: 
These csv spreadsheets map to fig 4 in an analagous way.  
Fig4_a_Xdata.csv
Fig4_a_Ydata.csv
Fig4_b_inset_Xdata.csv
Fig4_b_inset_Ydata.csv
Fig4_b_Xdata.csv
Fig4_b_Ydata.csv
Fig4_b_Zdata.csv
Fig4_c_Xdata.csv
Fig4_c_Ydata.csv

Similarly the code and COMSOL model used to generate all of this data is provided in the code folder.
To run Comsol Livelink for matlab is required.     