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

DesiMock class #28

Closed ZechangSun closed 4 years ago

ZechangSun commented 4 years ago

Dear Professor Prochaska, We defined a class named DesiMock to load all spectra from a fits file, and build the function read_sightline to get the content of spectra from the DesiMock .Besides, we update the class Sightline to match the DESI mock spectrum.

profxj commented 4 years ago

Please generate a simple Notebook showing the usage of this code. Make a new folder desi/nb/ and put it in there.

Have the Notebook plot a Sightline with a DLA.