# SciAnalysis
## Author : Kevin G. Yager
## Ported to git by : Julien Lhermitte
## Contributors: Ruipeng Li, Esther Tsai, Yugang Zhang
SciAnalysis is a set of Python scripts for batch processing of image data,
including x-ray scattering detector images. The code was written primarily by
Kevin Yager.
http://gisaxs.com/index.php/SciAnalysis
INSTALL:
* python setup.py develop
OR, simply download the package and see examples/beamlines/NSLSII_11BM_CMS/UShell/SciAnalysis_jn.ipynb for tutorial.
---
Example protocals for X-ray scattering data:
* Protocols.qr_image(blur=None, colorbar=True, save_results=['npz','hdf5'], transparent=False, label_filename=True) #plot_buffers = [0.1, 0.1, 0.1, 0.1], dpi=200
* Protocols.linecut_angle(q0=2.30, dq=0.01, extra='_q2p30', show_region=True)
* Protocols.linecut_qr(qz=0.025, dq=0.02, ylog=True, show_region=True, gridlines=True); #dq is half-width
* Protocols.linecut_qz(name='linecut_qz_new', ylog=True, qr=0, dq=0.02, show_region=True, plot_range=[0.2, 0.4, None, None])
* Protocols.linecut_qz_fit(qr=0.0, dq=0.01, show_region=True, label_filename=True, trim_range=[0.01, 0.4], fit_range=[0.093, 0.115], plot_range=[0.01, 0.4, 0, None], q0=[0.11])
* Protocols.circular_average_q2I_fit(plot_range=[0.8, 1.3, 0, None], qn_power=0.0, trim_range=[0.1, 3.5], fit_range=[0.95, 1.4], num_curves=2, q0=[1.00, 1.2], sigma=0.02, show_curves=1, label_filename=True),
* Protocols.sector_average(angle=70, dangle=10, plot_range=[1.2, 3.7, 0, 1200], show_region=True) #pie-shaped
* Protocols.roi(show_region=True, qx=1, dqx=0.02, qz=1, dqz=0.02, prepend='stats_')
run_args = { 'verbosity' : 3,
'save_results' : ['xml', 'plots', 'txt', 'hdf5'],
'rcParams': {'axes.labelsize': 25,
'xtick.labelsize': 20,
'ytick.labelsize': 20,
'xtick.major.pad': 10,
'ytick.major.pad': 10,
},
}
Raw data
{
"_id": null,
"home_page": "https://github.com/CFN-softbio/SciAnalysis",
"name": "SciToolsSciAnalysis",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "",
"keywords": "Analysis",
"author": "Kevin Yager",
"author_email": "kyager@bnl.gov",
"download_url": "https://files.pythonhosted.org/packages/79/d8/900896f108330b8e23514831d31192d88c4bb666dd7b2e14ad5fad8637e2/SciToolsSciAnalysis-2.6.6.tar.gz",
"platform": null,
"description": "# SciAnalysis\n\n## Author : Kevin G. Yager\n## Ported to git by : Julien Lhermitte\n## Contributors: Ruipeng Li, Esther Tsai, Yugang Zhang\n\nSciAnalysis is a set of Python scripts for batch processing of image data,\nincluding x-ray scattering detector images. The code was written primarily by\nKevin Yager.\n\nhttp://gisaxs.com/index.php/SciAnalysis\n\nINSTALL: \n\n * python setup.py develop\n\n OR, simply download the package and see examples/beamlines/NSLSII_11BM_CMS/UShell/SciAnalysis_jn.ipynb for tutorial.\n\n\n---\n\nExample protocals for X-ray scattering data:\n * Protocols.qr_image(blur=None, colorbar=True, save_results=['npz','hdf5'], transparent=False, label_filename=True) #plot_buffers = [0.1, 0.1, 0.1, 0.1], dpi=200\n * Protocols.linecut_angle(q0=2.30, dq=0.01, extra='_q2p30', show_region=True)\n * Protocols.linecut_qr(qz=0.025, dq=0.02, ylog=True, show_region=True, gridlines=True); #dq is half-width\n * Protocols.linecut_qz(name='linecut_qz_new', ylog=True, qr=0, dq=0.02, show_region=True, plot_range=[0.2, 0.4, None, None])\n * Protocols.linecut_qz_fit(qr=0.0, dq=0.01, show_region=True, label_filename=True, trim_range=[0.01, 0.4], fit_range=[0.093, 0.115], plot_range=[0.01, 0.4, 0, None], q0=[0.11]) \n * Protocols.circular_average_q2I_fit(plot_range=[0.8, 1.3, 0, None], qn_power=0.0, trim_range=[0.1, 3.5], fit_range=[0.95, 1.4], num_curves=2, q0=[1.00, 1.2], sigma=0.02, show_curves=1, label_filename=True), \n * Protocols.sector_average(angle=70, dangle=10, plot_range=[1.2, 3.7, 0, 1200], show_region=True) #pie-shaped\n * Protocols.roi(show_region=True, qx=1, dqx=0.02, qz=1, dqz=0.02, prepend='stats_')\n\n\nrun_args = { 'verbosity' : 3,\n\n 'save_results' : ['xml', 'plots', 'txt', 'hdf5'],\n\n 'rcParams': {'axes.labelsize': 25,\n 'xtick.labelsize': 20,\n 'ytick.labelsize': 20,\n 'xtick.major.pad': 10,\n 'ytick.major.pad': 10,\n },\n }\n\n\n\n\n",
"bugtrack_url": null,
"license": "BSD (3-clause)",
"summary": "SciAnalysis scripts for processing image files.",
"version": "2.6.6",
"project_urls": {
"Homepage": "https://github.com/CFN-softbio/SciAnalysis"
},
"split_keywords": [
"analysis"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "ba2bf4d9ab4f02ac58a638c6f57fc109425d3d8863461d281e26c2c98928f0bb",
"md5": "d684da7c120eedd1ec0c1cd061b17442",
"sha256": "c0aa8419f9bf4a0ade7ebd9e0e529c8e959d9b568074fa2f9c521431f77e9d46"
},
"downloads": -1,
"filename": "SciToolsSciAnalysis-2.6.6-py3-none-any.whl",
"has_sig": false,
"md5_digest": "d684da7c120eedd1ec0c1cd061b17442",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 110317,
"upload_time": "2023-06-22T16:46:14",
"upload_time_iso_8601": "2023-06-22T16:46:14.575251Z",
"url": "https://files.pythonhosted.org/packages/ba/2b/f4d9ab4f02ac58a638c6f57fc109425d3d8863461d281e26c2c98928f0bb/SciToolsSciAnalysis-2.6.6-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "79d8900896f108330b8e23514831d31192d88c4bb666dd7b2e14ad5fad8637e2",
"md5": "79b38bf56a74707a3739c7c5fb99e10d",
"sha256": "294e3bd436076c63a3d6e5d91381d1281f6248c7fdac03c1fc91c639de167f4a"
},
"downloads": -1,
"filename": "SciToolsSciAnalysis-2.6.6.tar.gz",
"has_sig": false,
"md5_digest": "79b38bf56a74707a3739c7c5fb99e10d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 119356,
"upload_time": "2023-06-22T16:46:16",
"upload_time_iso_8601": "2023-06-22T16:46:16.726193Z",
"url": "https://files.pythonhosted.org/packages/79/d8/900896f108330b8e23514831d31192d88c4bb666dd7b2e14ad5fad8637e2/SciToolsSciAnalysis-2.6.6.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-06-22 16:46:16",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "CFN-softbio",
"github_project": "SciAnalysis",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [],
"lcname": "scitoolsscianalysis"
}