ASpecD Version 0.6.0
Authors/Creators
Description
ASpecD is a Python framework for handling spectroscopic data focussing on reproducibility. In short: Each and every processing step applied to your data will be recorded and can be traced back, and additionally, for each representation of your data (e.g., figures, tables) you can easily follow how the data shown have been processed and where they originate from.
What is even better: Actual data processing and analysis no longer requires programming skills, but is as simple as writing a text file summarising all the steps you want to have been performed on your dataset(s) in an organised way.
Released 2021-11-05
New features
-
Reports
- Templates for reporting information contained in datasets come bundled with ASpecD.
- Context contains
templates_dirallowing to include sub-templates. - New class
TxtReporterfor plain text reports
-
Tasks/Recipe-driven data analysis
- YAML representation of recipe and tasks via
aspecd.tasks.Recipe.to_yamlandaspecd.tasks.Task.to_yaml - Figure labels can be set in plotters; otherwise a default label will be set and can be accessed from within reports.
- YAML representation of recipe and tasks via
-
Utils
change_working_dircan be used as context manager to temporarily change the working directory.
-
General
aspecd.utils.ToDictMixin.to_dictcan optionally remove keys with empty values.to_dict()method inaspecd.processing.ProcessingStep,aspecd.analysis.AnalysisStep,aspecd.annotation.Annotation,aspecd.plotting.Plotter,aspecd.table.Table,aspecd.report.Reporter,aspecd.model.Model
-
Models
- Axes quantities and units can be explicitly set on model creation.
Changes
- Dataset labels do not contain source path.
- Recipe dataset_source and output directories are no longer converted to absolute paths.
- More complete recipe history for tasks, including more of their properties
- Recipe-driven data analysis: Figures get added to recipe with default label if no label is provided.
aspecd.processing.Noise: explicit noise amplitude can be given.- Model can add label to created dataset.
- ModelTask adds result label as id to result.
- Plotter: Default figure size changed to (6., 4.) inch
Fixes
aspecd.tasks.Task.to_yamlserialises numpy arrays- Datasets from foreign packages are correctly listed in recipe history
aspecd.utils.copy_keys_between_dictsproperly traversesaspecd.utils.Yamlhandlesnumpy.double- Recipe-driven data analysis: automatically generated figure filenames get added to recipe figure record
- Models work now correctly when based on a dataset
aspecd.model.FamilyOfCurvessets correct values for additional axisaspecd.processing.Differentiationworks correctly for 2D datasetsaspecd.processing.Noise: normalisation works with >1D datasetsaspecd.plotting.SinglePlotter2DStacked: ylabel is set to third axis if offset = 0
Files
tillbiskup/aspecd-v0.6.0.zip
Files
(1.0 MB)
| Name | Size | Download all |
|---|---|---|
|
md5:8ae5a858e3cec8d964fa6006fa9f3c14
|
1.0 MB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/tillbiskup/aspecd/tree/v0.6.0 (URL)