desihub / desimodel

Code that reads and processes the desimodel data files.
BSD 3-Clause "New" or "Revised" License
3 stars 3 forks source link

Improve description of optical distortion #22

Open dkirkby opened 8 years ago

dkirkby commented 8 years ago

The current fiberloss calculation in bin/fiberloss.py reads data/inputs/throughput/DESI-0347-throughput.txt from this package, and uses the blur values plotted below: distortion1 This file also includes a column of lateral offset values (also in the plot), but the code uses a fixed value of 0.2" instead.

This issue is to provide a more detailed tabulation of the optical distortion that matches this graph based on ray tracing spots from the "geometric blur" tab of the excel spreadsheet in desi-doc-347-v10: distortion2

The main difference is that distortion is tabulated simultaneously in field angle and wavelength, and so captures significant correlations that are missing from the existing platescale.txt table.

I also want to understand how the values in DESI-0347-throughput.txt were calculated from the ray tracing spots.

dkirkby commented 8 years ago

@sbailey Are the data files in this package under change control? What are the logistics of adding a new file?

dkirkby commented 8 years ago

I can now reproduce the spreadsheet plot from numbers provided by Pat Jelinsky: spot-sizes

sbailey commented 8 years ago

We do not have a formal change control procedure for updating desimodel. The guidelines are:

i.e. in this particular case, let's have Pat/Bobby/Tim add the data file to a DocDB entry, also put it under desimodel data/inputs/ (perhaps in a new data/inputs/focalplane directory?), and provide a script to reformat that somewhat cumbersome ASCII format into an ecsv or FITS table for easier usage downstream. I'll ping the engineers about getting it into DocDB.

dkirkby commented 7 years ago

Just waiting for Pat/Bobby/Tim to add the data file to DESI-347 in DocDB before closing this issue...

weaverba137 commented 7 years ago

Did this ever get resolved? We need to know if there are changes to theses files coming that will in turn change the data model.

dkirkby commented 7 years ago

I am reassigning to @sbailey since I have already provided the file so the next step is to knock on some doors.

weaverba137 commented 7 years ago

Adding label 'data model' note that fixing this issue will also involve changes to the data model. If that is not the case, please remove the label.