Skip to content
Snippets Groups Projects
  1. 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
  2. Nov 03, 2016
  3. 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
  4. Apr 21, 2016
  5. Mar 23, 2016
  6. 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
  7. Feb 28, 2016
  8. 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
  9. Jun 02, 2015
    • Jan Caron's avatar
      Smaller changes, cleanup and script structure changes! · 42f8bc5f
      Jan Caron authored
      Phase maps now also have a mask and a confidence matrix.
      Began new script structure (temporary folders created).
      Cleanup, logging and documentation done.
      config: NTHREADS is now set here.
      dataset: Method for creating 3D masks added.
      phasemap: Mask and confidence matrix added. Padding and cropping supported.
      forwardmodel: Stubs for multiprocessing added (next TODO!).
      kernel: Added support for perturbed reference wave.
      magdata: Padding and cropping supported.
      projector: New property 'sparsity' introduced.
      regularisator: Stub for ComboRegularisator added (next TODO!).
      tests: Changed accordingly.
      42f8bc5f
  10. Feb 03, 2015
    • Jan Caron's avatar
      Mainly implementation of diagnostics class! ... And stuff! · fc55842d
      Jan Caron authored
      docstrings: updated!
      costfunction: CFAdapterScipyCG obsolete, deleted estimate_lambda()
      dataset: use_fftw and threads obsolete
      diagnostics: implemented stuff... much stuff...
      fft: Docstrings and implementation of threads
      magcreator: fixed bug in slab (dimension mix-up)
      phasemap: plot now also returns colorbar
      reconstruction: PrintIterator and optimize_simple_leastsq obsolete
      regularisator: Docstrings
      scripts: minor modifications
      scripts - reconstruct_random_pixels: now use optimize_linear
      testcases: analytic, compliance, kernel, magcreator, magdata, projector
      fc55842d
  11. Dec 09, 2014
  12. Nov 28, 2014
    • Jan Caron's avatar
      Implementation of FFTW and covariance matrix functionality added · cfea0d77
      Jan Caron authored
      Se_inv: is now handled differently, defaults to eye-matrix, but can be set
              later (added a few convenience functions to DataSet)
      utility: (re-)added utility module for index conversion
      kernel/phasemapper: can now use FFTW library and operate on pre-allocated
              arrays
      dtype: set dtype of arrays to np.float32/np.complex64 (halves memory size),
             also applied to numcore routines!
      magdata: quiver_plot can now plot every n-th arrow (yet untested!)
      reconstruction scripts: modified several reconstruction scripts.
      cfea0d77
  13. Nov 24, 2014
    • Jan Caron's avatar
      Big Bunch of small updates! · 4ab7bc63
      Jan Caron authored
      setup: Changes to setup.py, pyramid.version to fit to numpy and jutil
             now uses __all__ magic and supports from pyramid import *
      tests: changes to test_compliance/magcreator/analytic (should now work)
      collaborations: added several scripts for Patrick
      reconstruction: added batch file for the reconstruction of several configs
      test methods: (unfinished) scripts for fftw tests and kernel comparisons
      paper 1: ch5-4 changed padding values to 0, 1, 3 and 7
      plotting: deleted plt.show() lines (have to be done manually now or via Spyder)
      logging: now named _log instead of LOG (private variable instead of constant)
               also some logs were disabled, because Pylint says they are slow...
      reconstruction: now has info argument (pass a list in which cost info is copied)
      phasemapper: changed sign of constant PHI_0, is now correctly positive (instead
                   the negative z-integration is taken into account which was not done
                   before!)
      kernel: now uses FFTW, numpy code was changed accordingly and is still available
      phasemapper: also uses FFTW now, work in progress: FFTW for jac_T_dot
      4ab7bc63
  14. Nov 04, 2014
  15. Oct 29, 2014
  16. Sep 25, 2014
    • Jan Caron's avatar
      Intermediat commit on the way to implement norms and more regularizations. · e39061e3
      Jan Caron authored
      minor changes to plotting methods (PhaseMap now plottable without colorbar).
      phase_map: gain can now be set to 'auto' (5 fringes, determined by max. phase).
      renamed 'density' to 'gain' (makes more sense).
      regularisator: started to include norms and more kinds of regularisations.
      mag_slicer: GUI which can go through loaded magnetizations along the major axes.
      paper 1: minor changes to the scripts for the results.
      e39061e3
  17. Aug 06, 2014
    • Jan Caron's avatar
      Small stuff, collaborations and processing scripts · 3f460d45
      Jan Caron authored
      magdata: implemented save_to_x3d (Bielefeld collaboration)
      template.x3d: template for the x3d output (header file with spin-blueprints)
      numcore.kernel_core: implemented multiply_jacobi_T_core
      scripts: added vtk scripts for full nanowires and segments
               script to process file by Daniel Rüffner
      3f460d45
  18. May 15, 2014
    • Jan Caron's avatar
      Further optimization · ce62f949
      Jan Caron authored
      pep8: optimizations
      phasemapper_core: numcore module for phasemapper
      scripts: compatibility with new structure
      reconstruction: new scripts
      ce62f949
  19. Apr 17, 2014
    • Jan Caron's avatar
      Further optimization of the new structure and scripts. · 838fb104
      Jan Caron authored
      package: some minor corrections (mainly import statements), some old functions
               were revived (e.g. in MagData)
      
      scripts: adaption to the new structure and sorting (more work is to do here...)
      
      _version: __version__ string is now imported from this file
      
      phasemapper_core.pyx: added to separate the corresponding numcore_functions
                            from kernel_core.pyx
      838fb104
  20. Apr 16, 2014
    • Jan Caron's avatar
      Documentation and cleanup of the pyramid package! · 6fc82b2f
      Jan Caron authored
      Renames:
      datacollection --> dataset
      optimizer      --> reconstruction
      
      scripts:
      interactive_setup is now implemented in an extended Spyder startup file.
      some other scripts are now
      the rest is NOT adapted, yet, which is the next task at hand
      furthermore scripts will be sorted and unused ones deleted in the next commit
      6fc82b2f
  21. Mar 11, 2014
    • Jan Caron's avatar
      Fixed problems with the transposed operations of the forward model which did · a088c4f5
      Jan Caron authored
      not represent the correct matrizes (hopefully, now they do).
      
      >>> PACKAGE
      forwardmodel, kernel, phasemapper:
              b_0 is now again inherent part of the kernel.
      projector:
              Corrected .jac_T_dot, now delivers product for the correct matrix.
      >>> SCRIPTS
      simple_reconstruction:
              Does simple compliance tests for 1 and 2 projections and tests a simple
              solver via scipy.sparse.linalg.cg for the reconstruction.
      a088c4f5
    • Jan Caron's avatar
      First simple reconstruction approach · ec080940
      Jan Caron authored
      documentation: minor changes and updates of docstrings
      ec080940
  22. Feb 10, 2014
    • Jan Caron's avatar
      Intermediate commit on the way to the new structure. · 355a7e41
      Jan Caron authored
      regrid: Added many scripts for regridding by Jörn
      logging: Introduced logging
      scripts: Added Scripts for regridding and simulating stuff for cooperations
      removed: Unused test scripts
      structure: Many new restructuring aspects already implemented
      355a7e41
  23. Jan 02, 2014
  24. Dec 05, 2013
  25. Dec 03, 2013
Loading