Skip to content

Commit 72d7088

Browse files
Merge pull request #89 from dragonyanglong/update_doc
official release v2.0 for py3 version
2 parents c7b4a48 + b9028bc commit 72d7088

File tree

8 files changed

+154
-76
lines changed

8 files changed

+154
-76
lines changed

CHANGELOG.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,16 @@
22

33
Notable differences from version 1.1.2.
44

5-
## Version 1.4.7 – 2023-04-22
5+
## Version 2.0.0 – 2023-05-04
66

77
### Added
88

99
- Support for Python 3.8, 3.9, 3.10.
10-
- Use ddp3 to store project files.
10+
- Use `.ddp3` instead of `.ddp` to store project files.
1111

1212
### Changed
1313

14-
- Update wxpython to 4.1.1, and remove incompatible align flags.
15-
- Modify the InsertItem in `plotpanel.py` for Windows.
14+
- Update wxpython to 4.1.1 and remove incompatible align flags.
1615

1716
### Deprecated
1817

@@ -21,4 +20,4 @@ Notable differences from version 1.1.2.
2120
### Fixed
2221

2322
- Incompatible conversion between bytes and str from py2 to py3.
24-
- Replace the deprecated `Thread.isAlive()` with `Thread.is_alive()`.
23+
-

LICENSE.txt

Lines changed: 32 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
1-
This program is part of the DiffPy and DANSE open-source projects
2-
and is available subject to the conditions and terms laid out below.
1+
This software was originally developed by the Billinge group as part
2+
of the Distributed Data Analysis of Neutron Scattering Experiments
3+
(DANSE) project funded by the US National Science Foundation under
4+
grant DMR-0520547. Developments of PDFfit2 were funded by NSF grant
5+
DMR-0304391 in the Billinge group, and with support from Michigan State
6+
University and Columbia University. Any opinions, findings, and conclusions
7+
or recommendations expressed in this material are those of the author(s)
8+
and do not necessarily reflect the views of the respective funding bodies.
9+
Subsequent development was done in the Billinge group at Columbia University
10+
and then in collaboration between the Billinge group at Columbia and Pavol
11+
Juhas at Brookhaven National Laboratory. Moving forward, PDFgui will be
12+
maintained as a community project with contributions welcomed from many people.
313

414
If you use this program to do productive scientific research that leads
515
to publication, we ask that you acknowledge use of the program by citing
@@ -10,9 +20,27 @@ the following paper in your publication:
1020
PDFgui: computer programs for studying nanostructure in
1121
crystals, J. Phys.: Condens. Matter 19, 335219 (2007)
1222

23+
Up to the release 1.1.2 (February 2017) the copyright was held by
24+
the institutions that hosted the work as follows:
1325
Copyright 2006-2007, Board of Trustees of Michigan State University,
14-
Copyright 2008-2017, Board of Trustees of Columbia University in the
15-
city of New York. (Copyright holder indicated in each source file).
26+
Copyright 2008-2012, Board of Trustees of Columbia University in the
27+
city of New York.
28+
Copyright 2013, Brookhaven National Laboratory (Copyright holder
29+
indicated in each source file).
30+
31+
As of February 2017, and the 1.1.2 release, PDFgui has moved to a shared copyright model.
32+
33+
PDFgui uses a shared copyright model. Each contributor maintains copyright over their
34+
contributions to PDFgui. But, it is important to note that these contributions are
35+
typically only changes to the repositories. Thus, the PDFgui source code, in its entirety,
36+
is not the copyright of any single person or institution. Instead, it is the collective
37+
copyright of the entire PDFgui Development Team. If individual contributors want to
38+
maintain a record of what changes/contributions they have specific copyright on, they
39+
should indicate their copyright in the commit message of the change, when they commit
40+
the change to one of the PDFgui repositories.
41+
42+
The PDFgui Development Team is the set of all contributors to the PDFgui project.
43+
A full list can be obtained from the git version control logs.
1644

1745
For more information please visit the project web-page:
1846
https://www.diffpy.org

README.rst

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ is available in the doc/Farrow-jpcm-2007.pdf paper.
2020
REQUIREMENTS
2121
------------------------------------------------------------------------
2222

23-
PDFgui requires Python 3.8, 3.9, or 2.7 and several third-party
23+
PDFgui requires Python 3.7, 3.8, 3.9, or 2.7 and several third-party
2424
libraries that are used by PDFgui and its components.
2525

2626
* setuptools - tools for installing Python packages
2727
* wxpython - graphical user interface toolkit for Python
28-
* NumPy - library for scientific computing with Python
28+
* numpy - library for scientific computing with Python
2929
* matplotlib - Python 2D plotting library
3030
* diffpy.pdffit2 - computational engine for PDFgui,
3131
https://github.com/diffpy/diffpy.pdffit2
@@ -36,17 +36,7 @@ libraries that are used by PDFgui and its components.
3636

3737
We recommend to use `Anaconda Python <https://www.anaconda.com/download>`_
3838
which allows to conveniently install PDFgui and all its software
39-
dependencies with a single command. For other Python distributions
40-
it is necessary to install the required software separately. As an
41-
example, on Ubuntu Linux some of the required software can be
42-
installed using ::
43-
44-
sudo apt-get install \
45-
python-setuptools python-wxtools python-numpy \
46-
python-matplotlib
47-
48-
To install the remaining packages see the installation instructions
49-
at their respective web pages.
39+
dependencies with a single command.
5040

5141
Please note that the Python3 PDFgui will read .ddp3 files. It is also
5242
possible for it to read .ddp files that were saved by the Python2 PDFgui
@@ -97,13 +87,25 @@ If it shows some error like "This program needs access to the screen.". For Mac,
9787
With Anaconda PDFgui can be later upgraded to the latest released
9888
version using ::
9989

100-
conda update diffpy.pdfgui
90+
conda update -c conda-forge diffpy.pdfgui
10191

10292
With other Python distributions the program can be upgraded to
10393
the latest version as follows ::
10494

10595
easy_install --upgrade diffpy.pdfgui
10696

97+
If you would like to use other Python distributions except Anaconda,
98+
it is necessary to install the required software separately. As an
99+
example, on Ubuntu Linux some of the required software can be
100+
installed using ::
101+
102+
sudo apt-get install \
103+
python-setuptools python-wxtools python-numpy \
104+
python-matplotlib
105+
106+
To install the remaining packages see the installation instructions
107+
at their respective web pages.
108+
107109
Other software
108110
````````````````````````````````````````````````````````````````````````
109111

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
# Use this version when git data are not available, like in git zip archive.
1717
# Update when tagging a new release.
18-
FALLBACK_VERSION = '1.4.7'
18+
FALLBACK_VERSION = '2.0.0'
1919

2020
# determine if we run with Python 3.
2121
PY3 = (sys.version_info[0] == 3)

src/diffpy/pdfgui/doc/manual/acknowledgements.texinfo

Lines changed: 29 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,20 @@
1-
PDFgui was developed as part of the Distributed Analysis of Neutron Scattering
2-
Data (DANSE) project which is funded by NSF under DMR-0520547. The PDFfit2
3-
development was funded by NSF under contract DMR-0304391. The program is part
4-
of the DiffPy and DANSE open-source projects at Columbia University and is
5-
available subject to the conditions and terms laid out below. Several of the
6-
examples in the tutorial part were made possible and benefited from samples
1+
This software was originally developed by the Billinge group as part
2+
of the Distributed Data Analysis of Neutron Scattering Experiments
3+
(DANSE) project funded by the US National Science Foundation under
4+
grant DMR-0520547. Developments of PDFfit2 were funded by NSF grant
5+
DMR-0304391 in the Billinge group, and with support from Michigan State
6+
University and Columbia University. Any opinions, findings, and conclusions
7+
or recommendations expressed in this material are those of the author(s)
8+
and do not necessarily reflect the views of the respective funding bodies.
9+
Subsequent development was done in the Billinge group at Columbia University
10+
and then in collaboration between the Billinge group at Columbia and Pavol
11+
Juhas at Brookhaven National Laboratory. Moving forward, PDFgui will be
12+
maintained as a community project with contributions welcomed from many people.
13+
14+
Several of the examples in the tutorial part were made possible and benefited from samples
715
synthesized by J. F. Mitchell, and from data collected and processed by M.
816
Schmidt, P. G. Radaelli, and X. Qiu.
17+
918
@bigskip{}
1019
If you use this program to do productive scientific research that leads
1120
to publication, we ask that you acknowledge use of the program by citing
@@ -24,5 +33,19 @@ PDFfit2 and PDFgui: computer programs for studying nanostructure in crystals},
2433
@insertcopying
2534
@cindex copyright
2635
@bigskip{}
36+
As of February 2017, and the 1.1.2 release, PDFgui has moved to a shared copyright model.
37+
@bigskip{}
38+
PDFgui uses a shared copyright model. Each contributor maintains copyright over their
39+
contributions to PDFgui. But, it is important to note that these contributions are
40+
typically only changes to the repositories. Thus, the PDFgui source code, in its entirety,
41+
is not the copyright of any single person or institution. Instead, it is the collective
42+
copyright of the entire PDFgui Development Team. If individual contributors want to
43+
maintain a record of what changes/contributions they have specific copyright on, they
44+
should indicate their copyright in the commit message of the change, when they commit
45+
the change to one of the PDFgui repositories.
46+
@bigskip{}
47+
The PDFgui Development Team is the set of all contributors to the PDFgui project.
48+
A full list can be obtained from the git version control logs.
49+
@bigskip{}
2750
For more information please visit @url{https://www.diffpy.org}
2851
or contact Prof. Simon Billinge at @email{sb2896@@columbia.edu}.

0 commit comments

Comments
 (0)