Feature #1824

Revise current Python examples

Added by pospelov 7 months ago. Updated 6 months ago.

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

0%

Category:-
Target version:Sprint 35

Description

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.

History

#1 Updated by pospelov 6 months ago

  • Assignee set to pospelov

#2 Updated by pospelov 6 months ago

  • Status changed from Sprint to Resolved

Also available in: Atom PDF