The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Fixed broadcast error when checking for empty affine matrix or shape vector in the grid sampler.
- Added rectangular electrodes for tDCS.
- Fixed field interpolation. Before, the only case in which field interpolation worked was when the field was aligned with the structural image used to generate the mesh. Now, it works no matter the orientation of the field.
- Fixed template embedding in the package. It looks like, before, template files were not included in the package/not accessible.
- Fixed moving file between different drives. Shamo now uses
shutil
to perform this action. - Fixed
None
mask in grid conversion.
- All
.nii
files are now.nii.gz
files. - HD-tDCS solutions now contain the raw GetDP results so that it is possible to regenerate the
.pos
files. This allows the user to only keep the files of interest while still having the ability to get the others back if needed.
- Fixed structure parsing in
mesh_from_surfaces
to allow single child tissues.
- Added logging support for subprocesses and C libraries via
subprocess_to_logger
andstream_to_logger
context managers. - Added documentation on how to use the logging library with
shamo
. - Added the
mesh_from_fem
method to provide a way to generate a mesh from a previously built one by merging tissues together. - Added the
mesh_from_surfaces
method to provide a way to generate a mesh from a set of surface meshes. - Added
SurrMaskedScalar
andSurrMaskedScalarNii
to enable more sensitivity analysis. - Added
SurrMaskedScalarNiiJ
,SurrMaskedScalarNiiMagJ
andSurrMaskedScalarNiiV
for tDCS.
- Moved GetDP logging to the new logging
subprocess_to_logger
context manager.
- Added
ObjABC
,ObjFile
andObjDir
classes to provide a base for any savable/loadable object. - Added
Group
,Tissue
,Field
,Sensor
,PointSensor
andFEM
classes to provide a way to generate realistic finite element model based on labelled volumes. - Added
ProbABC
,CompABC
,CompFilePath
,CompGridSampler
,CompSensors
,CompTissueProp
,CompTissues
andProbGetDP
classes to define any problem. - Added
SolGetDP
class to store information about the solution of aProbGetDP
problem. - Added
DistABC
,DistConstant
,DistNormal
,DistTruncNormal
andDistUniform
to model random parameters for parametric problems. - Added
ProbParamABC
,CompParamTissueProp
,CompParamValue
, andProbParamGetDP
classes to define any parametric problem. - Added
SolParamABC
andSolParamGetDP
classes to store information about the solution of aProbParamABC
problem. - Added
ProbEEGLeadfield
andSolEEGLeadfield
classes to solve the EEG forward problem. - Added
ProbParamEEGLeadfield
,SolParamEEGLeadfield
andSurrEEGLeadfield
classes to solve the parametric EEG forward problem. Also addedSurrEEGLeadfieldToRef
class to evalaute the sensitivity of the EEG leadfield matrix. - Added
ProbHDTDCSSim
andSolHDTDCSSim
classes to simulate a HD-tDCS. - Added
ProbParamHDTDCSSim
andSolParamHDTDCSSim
classes to simulate a parametric HD-tDCS. - Added
SurrogateABC
class to define any surrogate model based on aSolParamABC
. - Added
SurrScalar
class to define any surrogate model returning a scalar to perform sensitivity analysis. - Added
shamo-report
command to facilitate bug report. - Added automated full reference with sphinx autosummary.