Package: compressedftir
Licensecopyright Manuel Marschall (PTB) 2020This software is licensed under the BSD-like license:Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in
the documentation and/or other materials provided with the distribution.DISCLAIMERThis software was developed at Physikalisch-Technische Bundesanstalt
(PTB). The software is made available "as is" free of cost. PTB assumes
no responsibility whatsoever for its use by other parties, and makes no
guarantees, expressed or implied, about its quality, reliability, safety,
suitability or any other characteristic. In no event will PTB be liable
for any direct, indirect or consequential damage arising in connectionUsing this software in publications requires citing the following paperCompressed FTIR spectroscopy using low-rank matrix reconstruction
DOI:https://doi.org/10.1364/OE.404959ReferencesThis repository contains the python code that is used in the paper[1] Compressed FTIR spectroscopy using low-rank matrix reconstruction, Optics Express Vol. 28, Issue 26, pp. 38762-38772 (2020)MotivationReducing measurement times and datasets by implementing reconstruction methods is a usual mathematical tool.
In this project we develop a regularized low-rank matrix recovery algorithm to account for smoothness, sparsity and low-rank properties of the given data.InstallationTo run the library one needs a $\geq$ python 3.6 installation with the python packagesnumpyscipymatplotlibInstallation using pipInstall via the python package managerpipusingpip install compressedftirBasic Python installationGuides to install python under Linux, Windows and Mac can be found here:https://realpython.com/installing-python/Quick guide for Python under Windows:Download Pythonhttps://www.python.org/downloads/release/python-382/(bottom of the page: "Windows x86-64 executable installer")Install Python using the installer and check "Add Python x.x to Path"Run a terminal, e.g. CMDCheck the installation by typingpythona command prompt should appear such asC:\Users\Marschall\Projects\CompressedFTIR>python
Python 3.8.2 (tags/v3.8.2:7b3ab59, Feb 25 2020, 22:45:29) [MSC v.1916 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>Close the Python prompt usingexit()Install dependenciespython -m pip install numpy scipy matplotlibImplementation detailsSome features and important files are mentioned in the followingpaper_leishmania/run_recon.pyis a run script and contains a dummy 2D example using an l-curve criterion for choosing the regularization parameter in a smoothed matrix reconstruction approach. You should get started here. Other scripts in this directory require additional data that are not available online.compressedftir.datareaderimplements a variety of data formats and can be adapted to your file formatcompressedftir.reconstruction.lowrankimplements the code that is described in the paper [1]ContactPlease contactmanuel.marschall@ptb.de.