Phase offset and ramp can now be fitted! Many updates and fixes to plotting!
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...
Showing
- pyramid/__init__.py 6 additions, 1 deletionpyramid/__init__.py
- pyramid/colormap.py 163 additions, 0 deletionspyramid/colormap.py
- pyramid/costfunction.py 2 additions, 2 deletionspyramid/costfunction.py
- pyramid/dataset.py 4 additions, 0 deletionspyramid/dataset.py
- pyramid/forwardmodel.py 56 additions, 10 deletionspyramid/forwardmodel.py
- pyramid/magcreator.py 14 additions, 6 deletionspyramid/magcreator.py
- pyramid/magdata.py 92 additions, 70 deletionspyramid/magdata.py
- pyramid/phasemap.py 101 additions, 61 deletionspyramid/phasemap.py
- pyramid/phasemapper.py 48 additions, 10 deletionspyramid/phasemapper.py
- pyramid/projector.py 8 additions, 8 deletionspyramid/projector.py
- pyramid/reconstruction.py 13 additions, 2 deletionspyramid/reconstruction.py
- pyramid/regularisator.py 25 additions, 12 deletionspyramid/regularisator.py
- scripts/magdata/magcreator/create_homog_slab.py 2 additions, 2 deletionsscripts/magdata/magcreator/create_homog_slab.py
- scripts/magdata/magdata_from_vtk.py 62 additions, 11 deletionsscripts/magdata/magdata_from_vtk.py
- scripts/phasemap/phasemap_from_dm3.py 5 additions, 6 deletionsscripts/phasemap/phasemap_from_dm3.py
- scripts/phasemap/phasemap_from_image.py 5 additions, 5 deletionsscripts/phasemap/phasemap_from_image.py
- scripts/reconstruction/reconstruction_2d_from_phasemap.py 39 additions, 23 deletionsscripts/reconstruction/reconstruction_2d_from_phasemap.py
- scripts/reconstruction/reconstruction_3d_from_magdata.py 45 additions, 15 deletionsscripts/reconstruction/reconstruction_3d_from_magdata.py
- scripts/temp/custom_colormap.py 1 addition, 1 deletionscripts/temp/custom_colormap.py
- scripts/temp/test_dim_uv_projection.py 24 additions, 0 deletionsscripts/temp/test_dim_uv_projection.py
Loading
Please register or sign in to comment