-
Notifications
You must be signed in to change notification settings - Fork 14
Nisar feature branch v11: extended csxtools to AXIS detector data #98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
48 commits
Select commit
Hold shift + click to select a range
00ed220
Modified fastccd.c/h/module.c to remove gain setting
nisarnk 33aa488
small error fixed
nisarnk 24eed3c
modified utils.py settings.py and fastccd/images.py to remove gain se…
nisarnk 0a3d842
Bugs fixed and now it works
nisarnk aed1d7a
modifies all 'fccd' to 'axis' and 'fastccd' to 'axis1'
nisarnk a038659
'fccd' and 'fastccd' added
nisarnk d03cf71
Update utils.py
nisarnk 12ac143
csxtools/__init__.py modified
nisarnk 49fef4b
Mirror reflection operation is done
nisarnk 98e597f
Bug fix
nisarnk da37d35
Formatiing and docstring correction is done
nisarnk be1bcd7
Implement methode that returb AXIS1 timestamp
nisarnk 45ad128
The photon count is removed for axis detector. A bug originated from …
nisarnk 13a83d7
test
nisarnk 9067577
The C-module for correcting image for dark and flatfeile is modified …
nisarnk 8b4f877
api name changed from get_axis1_ to get_axis_
nisarnk 07e7b35
formating done using balck
nisarnk 0827b49
black and flake8 formatting applied
nisarnk 96d9b71
some flake8 format issues fixed
nisarnk d79a6ea
some falke8 formatting done
nisarnk 0d2c4b5
max line in .flake8 changed to 130
nisarnk 0462bb8
max length in .flake8 set to 140 and ingnored bare exceptio
nisarnk ea5356e
tests/test_fastccd.py and tests/test_image.py are modified and improved
nisarnk a9a2a28
black and flake8 formatting done
nisarnk 539cd59
updated test_fastccd.py and test_image.py
nisarnk 78ae874
updated test_fastccd.py and test_image.py
nisarnk f1fb99d
updated test_fastccd.py and test_image.py
nisarnk 32e98b3
updated test_fastccd.py and test_image.py
nisarnk aaceeef
updated test_fastccd.py and test_image.py
nisarnk 9561393
removed tests folder containing test_fastccd.py and test_image.py
nisarnk 90c24de
restored test_fastccd.py and test_image.py
nisarnk 3964415
corrected test_image.py
nisarnk d7b9811
updated setup.py
nisarnk 0ba6460
added pyproject.toml
nisarnk 9e737b7
modified csxtools/.github/workflows/_test-in-conda-env.yml
nisarnk b7e404b
Changed from distutils.core import Extension to from setuptools impor…
nisarnk f00e630
extende the packege for python version 3.11 and 3.12
nisarnk fe79bf0
upgrade setup-python to v5 and codecov-action to v4 for improved comp…
nisarnk 533a294
updated MANIFEST.in and extended classifiers in setup.py
nisarnk 0f06457
Refactor: Simplify .flake8 exclude for .ipynb_checkpoints
nisarnk 6752d44
Few docstrings are corrected
nisarnk 688e3a4
modified csxtools/settings.py and csxtools/utils.py to add all AXIS d…
nisarnk d691e01
axis_mask() is removed from csxtools/utils.py
nisarnk 1bb48c1
Remove dead Landscape.io badge from README
nisarnk cea94b3
Update README: removed broken Travis CI badge and added GitHub Action…
nisarnk e3bf201
A version implementing suggestions from Phil Maffettone in the PR.
nisarnk f6ce50c
Update README.md
nisarnk 726e12e
Update README.md
nisarnk File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,20 @@ | ||
| # Metadata and versioning | ||
| include README.md | ||
| include LICENSE.txt | ||
| include versioneer.py | ||
| include csxtools/_version.py | ||
|
|
||
| # Requirements | ||
| include requirements.txt | ||
| include requirements-extras.txt | ||
|
|
||
| include versioneer.py | ||
| include csxtools/_version.py | ||
| # Source code | ||
| recursive-include csxtools *.py *.so | ||
|
|
||
| # C sources and headers | ||
| recursive-include src *.c *.h | ||
|
|
||
| # Documentation and notebooks | ||
| recursive-include doc * | ||
| recursive-include examples *.ipynb | ||
|
|
||
| recursive-include src * *.[hc] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,11 +1,11 @@ | ||
| CSX Data Analysis Tools | ||
| ======================= | ||
|
|
||
|
|
||
|
|
||
| [](https://travis-ci.org/NSLS-II-CSX/csxtools) | ||
| [](https://coveralls.io/github/NSLS-II-CSX/csxtools?branch=master) | ||
| [](https://landscape.io/github/NSLS-II-CSX/csxtools/master) | ||
| [](https://github.com/NSLS-II-CSX/csxtools/actions/workflows/tests.yml) | ||
| [](https://codecov.io/gh/NSLS-II-CSX/csxtools) | ||
| [](https://badge.fury.io/py/csxtools) | ||
| [](https://opensource.org/licenses/BSD-3-Clause) | ||
| [](https://pepy.tech/project/csxtools) | ||
|
|
||
| Python library for tools to be used at the Coherent Soft X-ray scattering | ||
| beamline at NSLS-II, (CSX, 23-ID) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,9 +1,17 @@ | ||
| # Now import useful functions | ||
|
|
||
| from .utils import (get_fastccd_images, get_fastccd_timestamps) # noqa F401 | ||
| from .utils import get_fastccd_images # noqa: F401 | ||
| from .utils import get_fastccd_flatfield # noqa: F401 | ||
| from .utils import get_fastccd_timestamps # noqa: F401 | ||
|
|
||
| from .utils import get_axis_images # noqa: F401 | ||
| from .utils import get_axis_flatfield # noqa: F401 | ||
| from .utils import get_axis_timestamps # noqa: F401 | ||
|
|
||
| from .plotting import make_panel_plot # noqa F401 | ||
|
|
||
| # set version string using versioneer | ||
| from ._version import get_versions | ||
| __version__ = get_versions()['version'] | ||
|
|
||
| __version__ = get_versions()["version"] | ||
| del get_versions |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| from .images import correct_images_axis | ||
|
|
||
| __all__ = ["correct_images_axis"] | ||
|
|
||
| # set version string using versioneer | ||
| from .._version import get_versions | ||
|
|
||
| __version__ = get_versions()["version"] | ||
| del get_versions | ||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.