DeepIGM / dla_cnn

Pipeline to detect Ly-alpha emission lines in the SDSS3 catalog sightlines. Uses convolutional neural networks to classify sightlines, locate DLAs, and measure column density.
MIT License
9 stars 7 forks source link

Generate training set #39

Open zoujiaqi99 opened 4 years ago

zoujiaqi99 commented 4 years ago

Hey X, I open a new PR in order to make the changes more clear.

zoujiaqi99 commented 4 years ago

I update write_as_tf_file module to TF 2.1 and write a module for reading TFRecord file. I use def.kernel, def.REST_RANGE to modify spectra_utils.get_lam_data, preprocess.label_sightline, and training_sets. split_sightline_into_samples. I modify uniform_snr module to use @ZechangSun 's Summary table instead of Mocks object. After summary table have updated,I will modify uniform_zdla_nhi module.