Stuermer / EchelleSimulator

GNU General Public License v3.0
11 stars 2 forks source link

Segmentation Fault error at prepare PSFs step #18

Closed blaisekuo closed 3 years ago

blaisekuo commented 4 years ago

Hi Julian, I ran EchelleSimiulator on a spectrograph model I generated and I got a Segmentation Fault at the "Prepare PSFs" step. Any clues as to why? The HDF model file looks like it has some PSFs stored in it. I attached the model creation script I used. model_creation_iranti.txt

Running my EchelleSimulator build on the MaroonX example seems to be working.

blaisekuo commented 4 years ago

Ok, I've gotten past the error now by leaving just one config in the zemax file.

Stuermer commented 4 years ago

OK. I was just gonna write to you to send me the produced HDF file, maybe I can spot an error. Let me know if you need anything else.

blaisekuo commented 4 years ago

Here's an HDF file I created. I am able to create the file and I can see that there are PSFs in the hdf file but when running it through EchelleSimulator I get a blank frame. I also ran the model_creation script on the zemax file provided and it also gives a blank frame.

I ran this on the command line:

./echellesimulator --spectrograph Iranti --constant 0.0001 -o ../simulations/flat.fit

Iranti.zip

Looking in the hdf file, it looks like my problem is happening in the affine transformation calculation. Most of those values are missing in the order table.

Stuermer commented 3 years ago

resolved