Skip to content
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

Reproducibility Strangeness #17

Open
noqsi opened this issue Aug 8, 2016 · 0 comments
Open

Reproducibility Strangeness #17

noqsi opened this issue Aug 8, 2016 · 0 comments
Labels

Comments

@noqsi
Copy link
Contributor

noqsi commented Aug 8, 2016

The reproducibility of the noiseless output in successive runs depends on whether you write the simulated data out.

The following script yields the same results in the "noiseless" output file if you run it twice. However, if you remove the line inputs['expose']['writesimulated']=False, successive runs will yield slightly different images.

from SPyFFI.Observation import Observation, default

# start from the default settings
inputs = default

inputs['camera']['label'] = 'teensynoiseless'
inputs['camera']['subarray'] = 100
inputs['catalog']['name'] = 'sky'
inputs['expose']['skipcosmics'] = True
inputs['expose']['jitter'] = False
inputs['expose']['writenoiseless']=True
inputs['expose']['writesimulated']=False
inputs['catalog']['lckw']['fractionofstarswithlc'] = 0
inputs['catalog']['lckw']['fractionwithextremelc'] = 0
inputs['catalog']['lckw']['fractionwithtrapezoid'] = 0
inputs['catalog']['lckw']['fractionwithrotation'] = 0
inputs['catalog']['lckw']['fractionwithcustom'] = 0
inputs['jitter']['amplifyinterexposurejitter'] = 0.0
inputs['camera']['variablefocus'] = False
inputs['camera']['aberrate'] = False
inputs['observation']['cadencestodo'] = {1800:14*48}
Observation(inputs).create()
@noqsi noqsi added the bug label Aug 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant