Git Product home page Git Product logo

silx-training's People

Contributors

kif avatar loichuder avatar mretegan avatar payno avatar pierrepaleo avatar t20100 avatar vallsv avatar vasole avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

silx-training's Issues

[gui] Add a how-to read Qt doc for PyQt

It is needed to present how-to read the documentation of Qt in order to write PyQt code:

  • Conversion from C++ to python: ->, :: to ., etc...
  • Slots are just methods in PyQt
  • Qt properties are actually a getter propertyName() (isPropertyName()) and a setter setPropertyName()

Ideas for introduction to numpy

Ideas to improve the introduction to numpy:

  • re-order from simple to more complex stuff
  • provide realistic examples/exercises

Reordered presentation:

  • basic plotting with matplotlib: plot and imshow
  • create arrays + load/save .npy .txt files
  • element-wise basic operations (exercise/example x - y + flat field correction (2D) or linear background substraction (1D))
  • numpy functions: min, max, sum etc... + axis argument (possible exercise/example: process a stack of images to show the difference of std on detector module edges)
  • numpy modules: linalg, random, fft
  • indexing (+ broadcasting?) exercice: 2x2 binning
  • numpy array insights: shape, strides and base
  • last exercise: cos(row) * sin(col)

[OpenCL] Enhancements suggested

Some suggestion from Loic, Wout, Olof, Alex, Armando ...

  1. Summarize the many programming languages into a table, will be faster and easier for the comparison.
  2. Performance portability of the code
  3. Emphasize on (long term) maintainability and the relation with metaprogramming
  4. Maturity
  5. show the generated code to prove it is readable (?) remove the black-magic part.

[software-engineering] Real example to introduced the tests

Some people do not understand at all the tests.

It could be useful to introduce it with a real example.

  • A real function
  • The way you try to see if it is working (maybe using ipython)
  • What if we change the function?
  • Introduce that it could be written once and reused many
  • Maybe show that it can improve the function: A failing test case, but the test is right, and the tested function have to be fixed.

[python] Problems encountered after Nov21 training

Feel free to add more things:

  • No instruction to copy training materials
  • Typos in the images about references in lists #97
  • Some cells were hidden in python notebooks 2 and 3 (too many cells in a slide)
  • Numpy exercise numbers do not correspond to solutions numbers #99
  • Typo in exercise 5 of numpy (100x100 1D) #99

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.