A collection of jupyter notebooks designed to generate a machine learning model which can fit the defocus parameter of a series of images and compare to a chi-squared fitting method.
- Download PurdueUltraCold.yml from main branch
- Open with a text editor and replace both instances of <env-name> with desired python environment name (make sure to save as .yml file)
- Replace the one instance of </path/to/your/anaconda/distribution> with the path to your anaconda distribution (this was created using Anaconda 4.10)
- In a command line run the following: conda env create --file <env-name>.yml
- Place image folders in raw_image folder (a list of image folders used here is in raw_image titled raw_im_folders_used.txt)
- GetParamRanges.ipynb
- RandomNoise_V6.ipynb
- UltraColdCNN_V9.ipynb + RealDataPrep.ipynb + Fit_Single.ipynb
- GraphGeneratorArtificialV2.ipynb + GraphGeneratorRealV2.ipynb