- Sep 01, 2016
-
-
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).
-
- Aug 02, 2016
-
-
Jan Caron authored
fielddata: Now takes figsize as argument phasemap: phase_plot now uses imshow (much faster) Removed API (to determine later...)
-
- Jul 26, 2016
-
-
Jan Caron authored
New API module unclutters the namespace (import pyramid.api as pr).
-
- Jul 17, 2016
- Jul 16, 2016
-
-
Jan Caron authored
-
- Jul 15, 2016
- Jul 14, 2016
- Jun 23, 2016
-
-
Jan Caron authored
-
- Jun 14, 2016
-
-
Jan Caron authored
-
- Jun 10, 2016
-
-
Jan Caron authored
-
- Jun 08, 2016
-
-
Jan Caron authored
-
- Apr 21, 2016
-
-
Jan Caron authored
GUIs now import .ui-files directly.
-
- Mar 23, 2016
-
-
Jan Caron authored
-
- Mar 09, 2016
-
-
Jan Caron authored
Refactoring: Replaced MagData with VectorData and added ScalarData class (and common superclass FieldData). magnitude is now called field (which is more appropriate) projector now uses FieldData to process both vector and scalar data (foundation was in place before)
-
- Mar 04, 2016
-
-
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)
-
- Feb 28, 2016
-
-
Jan Caron authored
-
- Feb 22, 2016
-
-
Jan Caron authored
Added PyCharm files! Commit before Reformatting with PyCharms!
-
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
-
- Oct 02, 2015
- Sep 02, 2015
-
-
Jan Caron authored
semper: Implements the SemperFormat class for phasemaps and magnetizations. forwardmodel: Docstrings for DistributedForwardModel. phasemap: save_to_text now optionally without header. ramp: Docstrings added.
-
- Jul 30, 2015
-
-
Jan Caron authored
forward_model: DistributedForwardModel created which uses the multiprocessing package for distributed computations.
-
- Jul 21, 2015
-
-
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.
-
- Jul 16, 2015
-
-
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...
-
- Jun 25, 2015
-
-
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.
-
- Jun 02, 2015
-
-
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.
-
- Mar 15, 2015
-
-
Jan Caron authored
projector: RotTiltProjector implemented! quaternion: New module providing quaternions!
-
- Mar 07, 2015
-
-
Jan Caron authored
magdata: added convenience functions for flipping and rotating of magnetic distributions, fixed bug with ar_dens. phasemap: now also has a mask which will be used to construct a 3D-mask for the magnetic distribution during reconstruction. Added setter/getter. Added copy(), scale_down()/scale_up() convenience functions. !CAUTION! Only NetCDF4 files save every new parameter! projector: Fixed hidden bug in X/YTiltProjector, which was problematic during tilts over 360°. Now uses linear algebra (much clearer!). get_info() function now can be used non-verbose (for filenames). dataset: added several setter/getter, addes set_3d_mask() for simple 2D tasks, renamed mask to confidence (for Se_inv construction) tests: updated to include the fixes and new functions introduced in this update!
-
- Feb 20, 2015
-
-
Jan Caron authored
magdata/phasemap: load and save methods now dynamically save with absolute and relative paths. Relative paths are defined in the config.py file!
-
- Feb 19, 2015
-
-
Jan Caron authored
tests: implemented the missing TestCases! dataset: mask is now created if not given! phasemapper: guaranteed np.float32 format for RDRC (expected by Cython) projector: now uses fft.FLOAT
-
- Feb 03, 2015
-
-
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
-