Skip to content

A couple fixes, oneliner each. #8

Open
zhanzhang3 wants to merge 14 commits into
AdvancedPhotonSource:masterfrom
zhanzhang3:master
Open

A couple fixes, oneliner each. #8
zhanzhang3 wants to merge 14 commits into
AdvancedPhotonSource:masterfrom
zhanzhang3:master

Conversation

@zhanzhang3
Copy link
Copy Markdown
Contributor

  1. replace np.int() with int()
  2. add a condition check for detector change.

replace np.int() with int()
In function _currentDetectorChanged(), add condition:
        if currentDetector != "":
            self.updateROIandNumAvg()
In case the detector list is empty (e.g. when changing to a different detector config file, detSelect list will be cleaned out first), skip setting the ROI and others.
Not GUI interface entry added for this.  Only for using with scripts.  Very rudimentary, skipping the master file and only read the data file for the image.  And the data file has to be organized similar as our .tiff file structure, under $(project_dir)/hdf5s/$(sample_name)/Snnn/.
Using json file as input.  2 input files are uploaded, too.
Keep them here for display slices of vti files.  But it could be very Paraview version dependent.  One is doing X, Y, Z slice through a point; the other tiling multiple vti file side by side with a single slice from each file.
Edit the output message showing Qx, Qy, Qz to Qx/H, Qy/K, Qz/L, as we use HKL more often.
For S8 and S28, hdf5 files are used, one file per scan.  S8 kept the Sxxx/ folder structure, S28 got rid of it.
minor version advance
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

Successfully merging this pull request may close these issues.

1 participant