The aim of Jscatter is treatment of experimental data and models:
Reading and analyzing experimental data with associated attributes as temperature, wavevector, comment, ….
Multidimensional fitting taking attributes into account.
Providing useful models for neutron and X-ray scattering form factors, structure factors and dynamic models (quasi elastic neutron scattering) and other topics.
Simplified plotting with paper ready quality.
Easy model building for non programmers.
Python scripts/Jupyter Notebooks to document data evaluation and modelling.
Main concept
Data are organised in dataArray/dataList with attributes as .temperature, .wavevector, .pressure and methods for filter, merging and more.
Multidimensional, attribute dependent fitting (least square Levenberg-Marquardt, Bayesian fit, differential evolution, regularisation, …).
Provide relative simple plotting commands to allow a fast view on data and possible later pretty up.
User write models using the existing model library or self created models.
The model library contains routines e.g. for vectorized quadrature (formel) or specialised models for scattering as formfactor, structurefactor, dynamic and biomacromolecules.
Documentation
Documentation located at http://jscatter.readthedocs.io. A number of examples how to use Jscatter is provided and can be run from Jscatter.
A short example how to use Jscatter
import jscatter as js
i5=js.dL(js.examples.datapath+'/iqt_1hho.dat') # read the data (16 sets) with attributes
# define a model for the fit
diffusion=lambda A,D,t,wavevector,elastic=0:A*np.exp(-wavevector**2*D*t)+elastic
# do the fit
i5.fit(model=diffusion, # the fit function
freepar={'D':[0.08],'A':0.98}, # start parameters, "[]" -> independent fit
fixpar={'elastic':0.0}, # fixed parameters
mapNames={'t':'X','wavevector':'q'}) # map names from the model to names from the data
p=js.grace(1.2,0.8) # open a plot
p.plot(i5,symbol=[-1,0.4,-1],legend='Q=$q') # plot with Q values in legend
p.plot(i5.lastfit,symbol=0,line=[1,1,-1]) # plot fit as lines
p.save('test.agr')
** Released under the GPLv3 **
Release files for jscatter 1.9.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| jscatter-1.9.0.3.tar.gz | 19.6 MB | Details |
Built distributions (wheels)
Total release size: 377.6 MB
Release files / jscatter-1.9.0.3.tar.gz
| Download URL | jscatter-1.9.0.3.tar.gz |
|---|---|
| Size | 19.6 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
08ac69818092edfcefb80ca2e2e59003e8c75e9ca1faaf5e3b6811cee4f2768a
|
|
BLAKE2b-256 checksum How to use checksums |
48abd287e84a26d7a67c3318cdd6adf6c84b328ae6ce35348e42cd0c0a795663
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / jscatter-1.9.0.3-cp314-cp314-win_amd64.whl
| Download URL | jscatter-1.9.0.3-cp314-cp314-win_amd64.whl |
|---|---|
| Size | 33.0 MB |
| Tags | CPython 3.14 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
767f5ce71d0a62b40c47f6363d9a780cfab63897ea66e38b582dd6565e07228c
|
|
BLAKE2b-256 checksum How to use checksums |
3868339cdc9db6e7fb49f047b23efdf75d39da721229c435040304605ad9d345
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.2
|
Release files / jscatter-1.9.0.3-cp314-cp314-manylinux_2_34_x86_64.whl
| Download URL | jscatter-1.9.0.3-cp314-cp314-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 33.1 MB |
| Tags | CPython 3.14 Linux glibc 2.34+ x86-64 |
|
SHA-256 checksum How to use checksums |
a725a3fbca66651726589ab4679df69f9c20af2eda5c6e375e773da6e4a17619
|
|
BLAKE2b-256 checksum How to use checksums |
835ca2a67aa94152de3ad357cb2fbb07b6e797367954446b1a82ce58139feb4e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / jscatter-1.9.0.3-cp314-cp314-macosx_15_0_arm64.whl
| Download URL | jscatter-1.9.0.3-cp314-cp314-macosx_15_0_arm64.whl |
|---|---|
| Size | 31.6 MB |
| Tags | CPython 3.14 macOS 15.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
d20367eb205c652bb0f42881c37c8c720ac7f423708706b9281b9d7a56ca4466
|
|
BLAKE2b-256 checksum How to use checksums |
18a7ece12176444ae15585ff093614347fabc64bbf72abdf95435d753054eeae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.15
|
Release files / jscatter-1.9.0.3-cp313-cp313-win_amd64.whl
| Download URL | jscatter-1.9.0.3-cp313-cp313-win_amd64.whl |
|---|---|
| Size | 32.2 MB |
| Tags | CPython 3.13 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
6b9448ef3651e524fbe8236af3407f9aa323b486e4dfc65b35d77bd2c3813ccf
|
|
BLAKE2b-256 checksum How to use checksums |
4d1e182360a5c309e911eb15fe45a468c52b2e05d4d483bc356d366d746a8bde
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.2
|
Release files / jscatter-1.9.0.3-cp313-cp313-manylinux_2_34_x86_64.whl
| Download URL | jscatter-1.9.0.3-cp313-cp313-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 33.2 MB |
| Tags | CPython 3.13 Linux glibc 2.34+ x86-64 |
|
SHA-256 checksum How to use checksums |
ceeff7993ce1e6e04dc04b42e4963e62a2fbc33e3749d24aebee3578e7f4cc69
|
|
BLAKE2b-256 checksum How to use checksums |
6d35b1108f7139f67bda990d5260db75407036a5bf4b450ddf9e86a887d34fdb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / jscatter-1.9.0.3-cp313-cp313-macosx_15_0_arm64.whl
| Download URL | jscatter-1.9.0.3-cp313-cp313-macosx_15_0_arm64.whl |
|---|---|
| Size | 31.6 MB |
| Tags | CPython 3.13 macOS 15.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
cf1cdea90a0fde62442af26b0ae84b26bce0586553b1e52f15bf3e5c08a12fba
|
|
BLAKE2b-256 checksum How to use checksums |
1dad1bc2029b7125d3f7e10dcc3a07ad0bf5c7c33c9174716631f5b08478395d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.15
|
Release files / jscatter-1.9.0.3-cp312-cp312-win_amd64.whl
| Download URL | jscatter-1.9.0.3-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 32.2 MB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
adbd13e87deb5b641560ffcf71df5b9609bd1647dae204dfd4654eedac9cf2ed
|
|
BLAKE2b-256 checksum How to use checksums |
d5f39940a400599749563cb643389926af575937783c14fb410b906f64eb267f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.2
|
Release files / jscatter-1.9.0.3-cp312-cp312-manylinux_2_34_x86_64.whl
| Download URL | jscatter-1.9.0.3-cp312-cp312-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 33.1 MB |
| Tags | CPython 3.12 Linux glibc 2.34+ x86-64 |
|
SHA-256 checksum How to use checksums |
4356e4913472a160b866c9c0bf5f3aed50805a5764f206e0f26f2481ea0d43b6
|
|
BLAKE2b-256 checksum How to use checksums |
54eb8507d9a279c8ea6fd01eac698d36171672fc9f091ac625bd10c5febd78aa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / jscatter-1.9.0.3-cp312-cp312-macosx_15_0_arm64.whl
| Download URL | jscatter-1.9.0.3-cp312-cp312-macosx_15_0_arm64.whl |
|---|---|
| Size | 31.6 MB |
| Tags | CPython 3.12 macOS 15.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
430376a4f8ad80541780cf48da6a74823cc4cfb694376e40c774cf46757f75aa
|
|
BLAKE2b-256 checksum How to use checksums |
3450dab84b3092783612a783f5d08be777eb7b1bf02347a4010f2636cec08f67
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.15
|
Release files / jscatter-1.9.0.3-cp311-cp311-manylinux_2_34_x86_64.whl
| Download URL | jscatter-1.9.0.3-cp311-cp311-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 33.2 MB |
| Tags | CPython 3.11 Linux glibc 2.34+ x86-64 |
|
SHA-256 checksum How to use checksums |
7f4e30f28558ecc8b04f6d6f9c6b08903246de500477c9846d39d2d55c0763b4
|
|
BLAKE2b-256 checksum How to use checksums |
598d32a6bd2bbef85c902bdf26683468c46caf24e9ab9a6bb75b04f493a63db9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / jscatter-1.9.0.3-cp310-cp310-manylinux_2_34_x86_64.whl
| Download URL | jscatter-1.9.0.3-cp310-cp310-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 33.1 MB |
| Tags | CPython 3.10 Linux glibc 2.34+ x86-64 |
|
SHA-256 checksum How to use checksums |
4ff86acb682ed6afb58189b0722f29647c86d1ac5811d883eed68827101f69a0
|
|
BLAKE2b-256 checksum How to use checksums |
9929be4cb49b92eb47775f971b9d13781a8bf79f38e560f757824be79f8cec31
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|