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

Add flags for only reporting one characteristic of the final beam #5

Open
zmitchell opened this issue Jun 1, 2019 · 0 comments
Open
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@zmitchell
Copy link
Owner

Maybe you only care about the intensity, or maybe you're going to feed the output of polsim to another program and you don't want to deal with parsing the output to select just the intensity. In that case you should be able to invoke polsim like this:

$ polsim --intensity my-simulation.toml
0.75

These are the flags that I think would be useful to implement:

  • --intensity
  • --x_mag
  • --x_phase
  • --y_mag
  • --y_phase
  • --ellipse-angle
  • --ellipse-major-axis
  • --ellipse-minor-axis
  • --eccentricity

Some ideas for useful tests:

  • Is it possible to print the full set of results even when one of these flags is present?
  • Does the output when the flag is present normalize properly when the -n/--normalize flag is present?
@zmitchell zmitchell added enhancement New feature or request good first issue Good for newcomers labels Jun 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant