-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
revised exposure factor implementation for bright time #109
Open
changhoonhahn
wants to merge
38
commits into
desihub:main
Choose a base branch
from
changhoonhahn:master
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…exposure_factor; changes in etc.bright_exposure_factor to deal with moon and sun parameter inputs; setup.py adjusted to read in gp files; GP files are made using python2 and thus incompatible...
- regression models for bright sky exposure factor implemented in `desisurvey.etc` - `desisurvey.scheduler.Scheduler` now has a method `update_exposure_factor` to calculate exposure factor - if `use_brightsky == True` for `desisurvey.scheduler.Scheduler`, bright sky exposure factor is used in `next_tile`.
I think these will be pretty orthogonal, fortunately! |
changhoonhahn
added a commit
to desi-bgs/feasiBGS
that referenced
this pull request
Apr 1, 2020
- new polynomial regression model fit to exposure time factors measured from BOSS and DESI CMX data. - previous regression model, which is the one implemented in [desisurvey pull request #109](desihub/desisurvey#109) show significant discrepancies for high exposure time factors. - new model does significantly better, especially for DESI CMX exposures.
…xposure factor for bright time
… corrected CMX sky surface brightness
…OSS, CMX and SV1 data
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
py/desisurvey/ephem.py
py/desisurvey/etc.py
bright_exposure_factor
function calculates the bright time exposure factor from airmass, moon illumination, moon separation, moon altitude, sun separation, and sun altitude as input._bright_exposure_factor_notwi
function calculates the bright time exposure factor without twilight contributions from airmass and moon parameters. The function uses a polynomial regression model fit to exposure factors calculated using an improved sky brightness model (see notebook). The model is based on re-fitting Krisciunas & Schaefer (1991) to BOSS sky fiber data plus twilight contribution from Parker Fagrelius's thesis work. See notebook for a comparison of the original KS1991 sky model to refit+twilight model._bright_exposure_factor_twi
function calculates the twilight contribution to the bright time exposure factor. The function uses a simple linear regression model that takes airmass, sun separation, and sun altitude as input.py/desisurvey/scheduler.py
next_tile
method: Ifuse_brightsky==True
, bright time exposure factor is included in next tile selectionupdate_exposure_factor
method implemented. This method is also called insurveysim.nightops.simulate_night
to correct the ETC on the fly.