Feature #1824

Revise current Python examples

Added by pospelov over 3 years ago. Updated over 3 years ago.

Status:ResolvedStart date:04 Jul 2017
Priority:NormalDue date:
Assignee:pospelov% Done:


Target version:Sprint 35


List of minor fixes in Python examples

  • DetectorResolutionFunction.py

Provide correct units deg for Gaussian resolution function
Make sure, that GUI->Python generator respects these units in the case of rectangular/spherical detectors.

  • CustomFormfactor.py

Fix comment in get_simulation() method (no ThreadInfo.n_threads anymore)

  • SpecularSimulation.py

Comment "Returns lists R[0:layer_index], L[0:layer_index]:" make Drupal Python code highlighter crazy

  • FitAlongSlices.py, FittingWithMasks.py and similar

construction "if amplitude <0:" make Python code highlighter crazy
Even if we switch to static site generation, consider more elegant way (less lines of code) for real data generation.


#1 Updated by pospelov over 3 years ago

  • Assignee set to pospelov

#2 Updated by pospelov over 3 years ago

  • Status changed from Sprint to Resolved

Also available in: Atom PDF