dodge-research-group / thztools Goto Github PK
View Code? Open in Web Editor NEWTools for terahertz time-domain spectroscopy (THz-TDS)
Home Page: https://dodge-research-group.github.io/thztools/
License: MIT License
Tools for terahertz time-domain spectroscopy (THz-TDS)
Home Page: https://dodge-research-group.github.io/thztools/
License: MIT License
The expression for the variance uncertainty looks incorrect. Check this.
thztools/src/thztools/thztools.py
Line 702 in 46da30e
Add code to reproduce the figures in Mohtashemi et al. (2021).
The scaleshift
function currently divides by the amplitudes and applies negative delays to the waveforms. Change this to the expected behavior, which multiplies the waveforms by the amplitudes and applies positive delays to the waveforms.
thztools.NoiseModel.amplitude
computes the noise amplitude with respect to the given input signal.thztools.NoiseModel.amplitude
and thztools.NoiseModel.variance
compute the standard deviation and variance with respect to the given input signal, respectively.thztools.NoiseModel.noise
computes a randomized array of thztools.NoiseModel.amplitude
.thztools.NoiseResult
class is used.No response
No response
Add frequency bounds to fit
. Use the ETFE as the transfer function estimate outside of these bounds.
The time-domain fit procedure in simulation-example takes about 10 minutes to complete. Optimize code to improve execution time.
Refactor code and comments to satisfy flake8 during CI
The docstring for tdnoisefit
here is incorrect. The value for this key is the variance, not the log of the variance.
thztools/src/thztools/thztools.py
Line 550 in 46da30e
The package needs a function to make it easier for users to use costfuntls
. I include a preliminary specification for this fit
function below.
def fit(fun: Callable, p0: ArrayLike, x: ArrayLike, y: ArrayLike, ts: float, *,
p_bounds: None | ArrayLike = None, f_bounds: None | ArrayLike = None,
jac: None | Callable = None, f_args: ArrayLike = (), f_kwargs: Dict = {})
-> (p_out: ArrayLike, diagnostic: Dict)
The publish-to-test-pypi.yml
workflow, adapted from the PyPA User Guides, does not publish the distribution to PyPI when I push a tagged commit to the main branch. This thread on PyOpenSci discusses what could be going wrong and provides suggestions for how to fix it.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.