Skip to content
Snippets Groups Projects
  1. Aug 18, 2017
  2. Jul 07, 2017
  3. Mar 14, 2017
    • Jan Caron's avatar
      Shifted docs and set all line separators to LF. · 9b866e22
      Jan Caron authored
      docs: moved up one level.
      plottools: added some default label sizes.
      version: added to VCS and added a TODO (switch to Git)
      fielddata: added rot90 for ScalarData, lot of small changes.
      9b866e22
  4. Feb 15, 2017
  5. Feb 06, 2017
    • Jan Caron's avatar
      Overhaul of the plotting capabilities (now in dedicated module)! · ef4f79e6
      Jan Caron authored
      fielddata and phasemap: Now use the new plottools module, cleanup of arguments
                              and documentation.
      plottools: New module for pretty plotting and different annotations like text,
                 colorwheels and colorbars.
      colors: Colorbar now has a black circle outline and arrows pointing in cardinal
              directions.
      diagnostics: Small documentation fixes and naming 'avg' --> 'avrg'.
      docs: Renewed documentation.
      ef4f79e6
  6. Jan 22, 2017
    • Jan Caron's avatar
      Improvement for scalebars and addition of quiverkeys! · c79173c7
      Jan Caron authored
      diagnostics: now takes magdata as input instead of a vector.
                   Plotting routines for diagnostics added.
      fielddata: Added quiverkey if b_0 is provided.
      phasemap: If appropriate unit is provided, will be labeled as "Gain Map".
      scalebar: Cleaned up and clipping added.
      c79173c7
  7. Jan 09, 2017
    • Jan Caron's avatar
      A lot of stuff for a lot of things... · cb12bddb
      Jan Caron authored
      reconstruction: jutil.TakeTime is now used here.
      scalebars: Module which allows nice scalebars to be displayed in all plots.
                 This is the new default and can be turned off.
      ramp: Now stores everything from the dataset directly to self, instead of
            keeping a reference to the DataSet (construct without Dataset in future!).
      projector: tqdm now uses tqdm_notebook if used in IPython Notebook!
      magcreator: Added functionality for smooth vortices (see de Graef et al.).
      kernel: Corrected behaviour of slab geometry (u and v were still switched!).
      dataset: phasemappers now accessable as dictionary or list. The append function
               now also takes lists (but projectors and phasemappers can in turn not
               set directly anymore). Se_inv will be updated automatically.
      diagnostics: Functionality to access total, directional and magnitude error,
                   according to Kemp et al.
      cb12bddb
  8. Dec 20, 2016
  9. Dec 19, 2016
    • Jan Caron's avatar
      Additional functionality for phasemap manipulation, masks and more plots. · db43e39a
      Jan Caron authored
      phasemap: Now supports flips, rotations and shifts with ndimage.
                Added plot_phase_with_hist to plot histograms (for difference plots).
      fielddata: FieldData now properly plots contours and masks (new).
      dataset: set_3d_mask now uses the new mask capability of FieldData.
               Default is no longer "logical backprojection".
      io_phasemap: Now includes .tif (although that does not always work).
      setup.py: Deleted deprecated depencencies.
      Renamed a few plot commands to plot_...
      Rollback to RdBu as colormap (back from Spectral).
      db43e39a
  10. Dec 08, 2016
    • Jan Caron's avatar
      Minor tweaks... · 07293441
      Jan Caron authored
      fielddata: slices now include z-component which will be plotted in plot_field.
      colors: Minor tweaks. Mainly for Rec. 601/709 input.
      phasemap: Now uses 'Spectral' as a colormap.
      07293441
  11. Nov 27, 2016
  12. Nov 19, 2016
  13. Nov 10, 2016
  14. Nov 03, 2016
    • Jan Caron's avatar
      Switched from Pyramid fft (obsolete) to Jutil fft. · 4f1991fd
      Jan Caron authored
      Renaming of variables in PhaseMapperRDFC.jac_T_dot to make more sense...
      4f1991fd
    • Jan Caron's avatar
      PhaseMapperRDFC and fft corrections. · e1014166
      Jan Caron authored
      phasemapper: PhasemapperRDFC: Now the adjoint is calculated correctly (switched
              slicing order, took conjugate of kernel FFTs, deleted superfluous minus
              sign). Results are the same, but calculation is now CORRECT!
      fft: Correction of numpy rfftn_adj.
      fielddata: Added option for uniform color specification.
      e1014166
  15. Oct 19, 2016
    • Jan Caron's avatar
      Kernel corrections and ForwardModel properties enhancement (more modular now). · 68453aaa
      Jan Caron authored
      kernel: u and v are switched and now finally correct.
              get_elementary_phase is also switched and corrected.
      phasemapper: added PhaseMapperCharge from Feng Shan.
      forward_model: now uses y instead of phase_vec/Se_inv and now direct properties.
      costfunction: corrected some docstrings and documentation comments.
      fielddata: corrected some missing integer divisions (// instead of /),
              added plot_streamline().
      68453aaa
  16. Sep 06, 2016
  17. Sep 01, 2016
    • Jan Caron's avatar
      Revamp of the colormaps (now called colors), plotting names and use of imshow. · 0eca449d
      Jan Caron authored
      Addition of plot_field for FieldData as alternative to quiver plots.
      PhaseMap phase plot now has an option to cut outliers (e.g. difference plots).
      IO of PhaseMaps now can handle different file extensions in one loading.
      Phasemap creator GUI now uses IO loading.
      Replaced flatten with ravel (memory efficiency).
      Renamed non constant variables to lower case (not UPPER CASE anymore).
      0eca449d
  18. Aug 02, 2016
  19. Jul 26, 2016
  20. Jul 17, 2016
  21. Jul 15, 2016
  22. Jul 14, 2016
  23. Jun 23, 2016
  24. Apr 21, 2016
  25. Mar 23, 2016
  26. Mar 09, 2016
  27. Mar 04, 2016
    • Jan Caron's avatar
      Added fieldconverter module! · 4725e6cf
      Jan Caron authored
      fieldconverter: methods to convert M to A to B
      magdata: a bit more parameters for quiver_plot3d(), added contour_plot3d()
      phasemapper: pm() extended for different projections (not just simple)
      kernel: u and v switched (now named after the unit magnetization direction, which makes much more sense)
      4725e6cf
  28. Feb 28, 2016
  29. Feb 22, 2016
    • Jan Caron's avatar
      Hopefully made hyperspy import (now at beginning of pyramid package) work! · bce38269
      Jan Caron authored
      Added PyCharm files!
      Commit before Reformatting with PyCharms!
      bce38269
    • Jan Caron's avatar
      First use of PyCharms! · 7aae4499
      Jan Caron authored
      Added .idea folder with PyCharms settings.
      Changed icon.ico (now round).
      PhaseMap and MagData: Now use h5py to load/save data (via HyperSpy).
      Deprecated loading routines (x3d) are gone now!
      tests: All tests now reflect this change.
      scripts: Streamlined some scripts. Many are now in separate project:
      Script-Vault
      7aae4499
  30. Oct 02, 2015
  31. Sep 02, 2015
  32. Jul 30, 2015
  33. Jul 21, 2015
    • Jan Caron's avatar
      Dedicated class for polynomial ramps of arbitrary order! · d136112f
      Jan Caron authored
      Cleanup and documentation!
      ramp: New class for polynomial ramps. Instantiated in the ForwardModel.
      forwardmodel: Now uses new ramp class.
      phasemapper: Ramp functionality moved to ramp class.
      reconstruction: Ramp order not used, ramp can be now retrieved from the ramp
                      class after reconstruction.
      analytic, magcreator: Better and consistent definition of pixel centers and
                            their influence on the phase.
      testing: Minor corrections for new syntax.
      d136112f
  34. Jul 16, 2015
    • Jan Caron's avatar
      Phase offset and ramp can now be fitted! Many updates and fixes to plotting! · 622c59d8
      Jan Caron authored
      colormap: New module with colormap subclass which has special functions to
                calculate directional rgb-colors, now used in many plots!
      __init__: On star import now also has abbreviations for a few modules.
      fwd_model: Now has flags for fitting an offset and/or ramp.
                 CAUTION: will be moved next update to new class!
      magdata: Removed colorwheel stuff (all moved to 'colormap'). Overhaul of quiver
               plot in 2D and 3D. Now shows mask and uses new colormap for angular
               color coding.
      phasemap: Now uses the new colormap for holo plots. Removed color wheel (moved
                to the new class). Added function to add ramps.
      phasemapper: Now handles also offsets and ramps in the phase.
                   CAUTION: will be moved next update to new class!
      projector: Fixed bugs in SimpleProjector. 1) leftmost pixels are no longer moved
                 moved to left corner of padded projection (when dim_uv is not None).
                 2) odd padding when using dim_uv are now handled properly (one more
                 pixel on top and right if necessary).
      costfunction: n is now taken from the fwd_model instead of the data_set.
      dataset: Introduced the count variable which gives the number of images.
      magcreator: In the process of updating, more on next commit.
      reconstruction: Also handles ramps and offsets now, properly extracts them after
                      reconstruction.
      regularisator: New argument 'add_params' is used to cut off input (for offset
                     and ramp) which are not used in the regularisation.
      scripts: several small changes...
      622c59d8
  35. Jun 25, 2015
    • Jan Caron's avatar
      New quiver plots (with color) and argument structure changes. · f9da271a
      Jan Caron authored
      costfunction: Now takes a ForwardModel as input instead of DataSet.
      forwardmodel: New private function for processing one image (multiprocessing).
      magdata: Quiver Plots (2D/3D) now support color encoding (angle or amplitude).
               Private method for creating the appropriate colormap.
      reconstruction: Now takes Costfunction as argument instead of DataSet.
      regularisator: Introduced ComboRegularisator.
      scripts: New scripts.
      f9da271a
Loading