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

Distributions of GalSim object input parameters #98

Closed
barnabytprowe opened this issue Apr 11, 2012 · 4 comments
Closed

Distributions of GalSim object input parameters #98

barnabytprowe opened this issue Apr 11, 2012 · 4 comments
Assignees
Labels
config Related to the config-processing functionality. input/output Related to reading or writing files in GalSim

Comments

@barnabytprowe
Copy link
Member

For generating multi-object simulations we may want to give the user the option of specifiying distributions of parameter values from which to sample. This is the issue for discussing how to do this, and for what distributions.

@rmjarvis
Copy link
Member

This is relevant to the discussion on #101 about what kind of parser we want.

e.g. I think it might be nice to be able to have configuration lines look something like

centroid_slop = gauss2d(sigma = 0.1)

psf_sigma_func = poly2d(0.7, 0.01, 0.03)  # (a,b,c) for a + b*x + c*y
psf = gaussian(sigma = psf_sigma_func)

which would probably push us towards Jim's eval idea for the configuration reading, since this is probably a lot closer to being possible as direct python code, rather than through something like ConfigParser.

@ghost ghost assigned barnabytprowe Apr 23, 2012
@barnabytprowe
Copy link
Member Author

I agree Mike, I've discussed this with Rachel here and we both agree that the potential power of being able to use the eval() function is worth exploring, and makes full use of the power of the Python platform.

@barnabytprowe
Copy link
Member Author

I'll see if I can make a couple of examples...

barnabytprowe added a commit that referenced this issue May 2, 2012
barnabytprowe added a commit that referenced this issue May 2, 2012
barnabytprowe added a commit that referenced this issue May 2, 2012
barnabytprowe added a commit that referenced this issue May 3, 2012
barnabytprowe added a commit that referenced this issue May 4, 2012
barnabytprowe added a commit that referenced this issue May 6, 2012
barnabytprowe added a commit that referenced this issue May 6, 2012
barnabytprowe added a commit that referenced this issue May 6, 2012
barnabytprowe added a commit that referenced this issue May 7, 2012
barnabytprowe added a commit that referenced this issue May 7, 2012
@barnabytprowe
Copy link
Member Author

Pull request #135 relevant to this issue.

barnabytprowe added a commit that referenced this issue May 7, 2012
barnabytprowe added a commit that referenced this issue May 7, 2012
barnabytprowe added a commit that referenced this issue May 7, 2012
and CCDNoise.h usage, is now.  Tests pass as before.
barnabytprowe added a commit that referenced this issue May 7, 2012
barnabytprowe added a commit that referenced this issue May 8, 2012
Some extra statistical distributions ready for multi-object input (#98)
@rmjarvis rmjarvis added demos Related to demos, tutorials, other example code input/output Related to reading or writing files in GalSim config Related to the config-processing functionality. and removed core demos Related to demos, tutorials, other example code labels Nov 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
config Related to the config-processing functionality. input/output Related to reading or writing files in GalSim
Projects
None yet
Development

No branches or pull requests

2 participants