Comments (13)
@weaverba137 These files are used (by Pat McDonald and myself) to compute Fisher forecasts for Lyman alpha in DESI, I'm not sure if anyone else uses them.
There are older files (like desimodel/data/spectra/sn-spec-lya-20.25.dat) that are obsolete, since they used an older version of the DESI throughput.
At the time I made the new files I wasn't sure whether anyone was using the old files, so I didn't remove them, and instead added a new folder with the new Lya SNR files. These have a somewhat different name, that includes the band used to identify the quasar magnitude and the exposure time (like desimodel/data/spectra/LyaSNR/sn-spec-lya-r21.25-t4000.dat).
If none else is using these files, I'd be happy to move them to the main directory.
And if none else is using the old sn-spec-lya files, I'd be happy to delete these (specially since as I said I believe these use an old version of the throughput).
These files where generated using a python code developed by @dkirkby, so he might know better if someone else is using these files.
from desimodel.
@andreufont I think we should remove these files from desimodel and instead put the script to generate them with specsim into an igmhub package. That would allow us to always generate them on the fly with the latest throughputs, fiberloss fractions, etc (which have changed quite a bit) and also generate corresponding eBOSS SNR files (once @belaa has finished her project to adapt specsim for eBOSS). I can help with this if you point me to the original code you used.
from desimodel.
@dkirkby The script I used was written by you, and it is already in the right place (I think): desihub/desimodel/bin/desi_quicklya.py.
I haven't used it in over a year, and I'm not even sure it is working now (I just tried to do what I think I did last time, but it crashes).
While I agree that it would be great to be able to compute whatever SNR you need on the fly, the current Fisher forecast code can not do this right now and it needs to use pre-existing files from disk.
from desimodel.
While this is being resolved, let return to the initial question. If, as you say:
There are older files (like desimodel/data/spectra/sn-spec-lya-20.25.dat) that are obsolete, since they used an older version of the DESI throughput.
Why not just replace those files with the files in LyaSNR? This is an svn repository after all, & the old files will still be there in the older versions.
from desimodel.
@weaverba137 When I did this I had no idea how desimodel was organized and whether anyone was using those files, and I didn't want to modify other's results. It started with me just playing around, but then we decided to use the new files for our Fisher forecast and I had to add the files to svn...
But yes, I think now we could safely remove the old files and move the files in LyaSNR to the main folder.
from desimodel.
from desimodel.
Sure. And so is the quasar luminosity function used for the forecasts.
I found some time to work on a new python-based forecast code, but it is more complicated than I was hoping for and I'm not really close to finished :-(
from desimodel.
Adding label 'data model' note that fixing this issue will also involve changes to the data model.
from desimodel.
Ben, I just talked to Pat (the only other user of these files), and he is fine if we move the files from the current subfolder to the main folder where the other snr files are. We can also remove the old sn-spec-lya-* files.
from desimodel.
OK, thanx. We should coordinate this with the next tag of desimodel.
from desimodel.
Fixed in #53. Will close this once the changes are implemented on the svn side.
from desimodel.
Extra Lya SNR directory has been deleted from SVN.
from desimodel.
Very good. Closing.
from desimodel.
Related Issues (20)
- Undeclared dependency HOT 3
- Rotate theta / phi positioner ranges based on petal location
- update xy2radec & radec2xy to support field rotation
- update xy2radec and radec2xy to support airmass field compression terms
- Add focalplane model support for stuck / broken position
- Add support for CANbus failures in focalplane model HOT 1
- Use instrument database for generating focalplane model HOT 2
- update/deprecate fiberpos.fits HOT 6
- DESIMODEL SVN data? HOT 2
- Update platescale to as-built design from DESI-4037 HOT 2
- Mechanism for getting current "nominal" focalplane HOT 1
- Convert focalplane model times to UTC
- Update throughput model to include dip between 4300 and 4500A HOT 3
- Add information about fibers with low transmission
- Outdated desimodel test branches. HOT 1
- astropy 5 not compatible with focalplane calibration ecsv HOT 13
- desiInstall desimodel branches/main fails
- Remove fix-tiles branch? HOT 1
- update psf-quicksim HOT 3
- Update api.rst
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from desimodel.