Skip to content
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

Question about ”Default server settings not defined” #108

Open
davy12344 opened this issue Jul 30, 2024 · 5 comments
Open

Question about ”Default server settings not defined” #108

davy12344 opened this issue Jul 30, 2024 · 5 comments

Comments

@davy12344
Copy link

Dear developer:

I successfully installed Nxrefine and NeXpy, but I encountered an error when using NeXpy, as shown below.

image

I checked the manual, which mentioned that there should be a "settings.ini" file. However, I couldn't find this file in the resources. The manual (https://nexpy.github.io/nxrefine/server.html?highlight=settings%20ini) does not specify the format for constructing this file. Should it be a Python dictionary or a JavaScript file?

Looking forward to your guidance.

Best regards;
Yongheng Li

@rayosborn
Copy link
Collaborator

Have you followed the instructions to initialize a directory to contain the nxserver files (see this section)? The settings.ini files should be automatically created as long as the server directory has been defined by running nxserver -d /path/to/server at the command line.

@davy12344
Copy link
Author

Dear Dr. Ray Osborn,

Thank you very much for your assistance; I was able to generate the settings.ini file successfully.

I recently conducted a diffraction experiment at SPring-8 in Japan and now have a large number of CBF files to process. I have been trying to follow the instructions provided on the (https://nexpy.github.io/nxrefine/reduction.html#nxload), but I am encountering difficulties. Specifically, I am facing various errors, such as the one shown below:
image

Besides, how can I import a large number of CBF files at once? I tried using the "Import Image Stack" feature, as shown below:
image
But it seems to show just one picture.

Your guidance would be greatly appreciated.

Besides,
Yongheng Li

@rayosborn
Copy link
Collaborator

I'm not sure what you mean when you say it only shows one picture. NeXpy doesn't have a built-in 3D viewer. When NeXpy displays a 3D array, it shows a 2D slice, usually with a z-axis value of zero. You can then use the z-tab below the plot to select other z-axis values. Does that help?

@davy12344
Copy link
Author

davy12344 commented Jul 31, 2024

Thank you for your reply!
I have understood how to check all cbf files by change z-axis value.

But I still has this error as shown below when using "Find Peaks":

image

@rayosborn
Copy link
Collaborator

To use the 'Find Peaks' dialog, you need to select an entry containing raw data, which is usually called 'f1', 'f2', etc. Do you get this error if you select another entry containing raw data? I am concerned that, if you manually stacked CBF files into the '/entry' group, you will encounter a number of problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants