Commit 86199526 authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Updated eels parser to work with eels data directly.

parent 847ac861
Pipeline #70276 passed with stages
in 23 minutes and 16 seconds
Subproject commit cf9f6972cb89c07fa611f2a7c9f81fcc07063176
Subproject commit 27b31ca8d452c3afc3240c5c89e1a4e70d8388ee
......@@ -433,9 +433,9 @@ parsers = [
LegacyParser(
name='parsers/eels', code_name='eels', domain='ems',
parser_class_name='eelsparser.EelsParserInterface',
mainfile_mime_re=r'(application/json)|(text/.*)',
mainfile_name_re=(r'.*.json'),
mainfile_contents_re=(r'"api_permalink": "https://api\.eelsdb\.eu')
mainfile_mime_re=r'text/.*',
mainfile_name_re=(r'.*.txt'),
mainfile_contents_re=(r'api_permalink = https://api\.eelsdb\.eu')
),
LegacyParser(
name='parsers/qbox', code_name='qbox', domain='dft',
......
{
"acquisition_mode": "STEM",
"api_permalink": "https://api.eelsdb.eu/spectra/lsmo-perovskite/",
"author": {
"name": "Dominique Imhoff",
"profile_api_url": "https://api.eelsdb.eu/author/imhoff/",
"profile_url": "https://eelsdb.eu/author/imhoff/"
},
"beamenergy": "100 kV",
"collection": "22 mrad",
"comment_count": "0",
"convergence": "7 mrad",
"darkcurrent": "Yes",
"description": "background removed",
"additionalInformation1": "calibration : 1- XAS energy reference from standard similar LSMO (maximum of MnL3 peak)",
"additionalInformation2": " 2- energy dispersion calibration of the detector from two peaks reference in low and core loss areas (STO substrate area in the multimayer system).",
"additionalInformation3": "see also LaM,OK Analyst: imhoff. Temperature: Room.",
"detector": "Parallel: 666 + CCD modified Orsay",
"download_link": "https://eelsdb.eu/wp-content/uploads/2015/09/DspecrAr6wi.msa",
"edges": "['Mn_L2,3']",
"elements": "['La', 'Sr', 'Mn', 'O']",
"formula": "(La0.7,Sr0.3)MnO3",
"gainvariation": "No",
"guntype": "Cold FEG",
"id": "21737",
"integratetime": "0.2 secs",
"keywords": "['imported from old site']",
"max_energy": "662.4 eV",
"microscope": "STEM-VG",
"min_energy": "633.29 eV",
"other_links": "[{'url': 'http://pc-web.cemes.fr/eelsdb/index.php?page=displayspec.php&id=228', 'title': 'Old EELS DB'}]",
"permalink": "https://eelsdb.eu/spectra/lsmo-perovskite/",
"probesize": "0.7 nm^2",
"published": "2008-03-04 00:00:00",
"readouts": "10",
"reference": {
"freetext": "EELS study of interfaces in magnetoresistive LSMO/STO/LSMO tunnel junctions",
"additionalInformation4": "S ... bi T., Fert A., Colliex C.,",
"additionalInformation5": "European-Physical-Journal-B., 34(2), 179-92, 2003"
},
"source_purity": "perovskite multilayers UMP CNRS-Thales Palaiseau France (laser ablation)",
"stepSize": "0.229 eV/pixel",
"title": "LSMO perovskite",
"type": "Core Loss"
}
├── acquisition_mode = STEM
├── api_permalink = https://api.eelsdb.eu/spectra/alumina-alpha-4/
├── author
│ ├── name = PD Dr. Peter A. van Aken
│ ├── profile_api_url = https://api.eelsdb.eu/author/vanaken/
│ └── profile_url = https://eelsdb.eu/author/vanaken/
├── beamenergy = 100 kV
├── collection = 6.5 mrad
├── comment_count = 0
├── convergence = 6.5 mrad
├── darkcurrent = Yes
├── description = - Background subtracted. - Note the absence of the peak at 92 eV (non-dipole transitions due to channeling conditions observed only along <0001>, cf paper quoted).- Calibration could not be accurate. Analyst: Stefan Nufer. Temperature: Room. BEAM/Crystal: <1-100>.
├── detector = Parallel: 666 Gatan
├── download_link = https://eelsdb.eu/wp-content/uploads/2015/09/Dspec.132290.1.msa
├── edges = ['Al_L2,3']
├── elements = ['Al', 'O']
├── formula = Al2O3 (alpha)
├── gainvariation = Yes
├── guntype = Cold FEG
├── id = 21575
├── integratetime = 10 secs
├── keywords = ['imported from old site']
├── max_energy = 152.8 eV
├── microscope = VG HB-501
├── min_energy = 71.7 eV
├── other_links = [{'url': 'http://pc-web.cemes.fr/eelsdb/index.php?page=displayspec.php&id=51', 'title': 'Old EELS DB'}]
├── permalink = https://eelsdb.eu/spectra/alumina-alpha-4/
├── probesize = 1 nm^2
├── published = 2005-04-20 00:00:00
├── readouts = 1
├── reference
│ └── freetext = Nufer, Gemming, Koestlmeier, Ruehle, Ultramicroscopy, 88, 253-263, 2001
├── resolution = 0.7 eV
├── stepSize = 0.1 eV/pixel
├── thickness = 0.22 t/&lambda;
├── title = Alumina alpha
└── type = Core Loss
......@@ -26,7 +26,7 @@ from nomad.parsing import LocalBackend, BadContextURI
parser_examples = [
('parsers/random', 'test/data/parsers/random_0'),
('parsers/template', 'tests/data/parsers/template.json'),
('parsers/eels', 'tests/data/parsers/eels.json'),
('parsers/eels', 'tests/data/parsers/eels.txt'),
('parsers/aptfim', 'tests/data/parsers/aptfim.aptfim'),
('parsers/mpes', 'tests/data/parsers/mpes.meta'),
('parsers/exciting', 'tests/data/parsers/exciting/Ag/INFO.OUT'),
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment