Skip to content

Commit 01b1ddd

Browse files
committed
First commit
0 parents  commit 01b1ddd

File tree

86 files changed

+17755
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

86 files changed

+17755
-0
lines changed

FrealignEulerAnglesConvention.txt

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
From ccp.f
2+
C - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
3+
C Below is the standard Eulerian rotation ZYZ
4+
C The model or its transform is rotated first by PHI around Z, then
5+
C by THETA about the new Y, and thirdly by PSI about the new Z.
6+
C
7+
C The rotation matrix used is R=R(psi)*R(theta)*R(phi) as in Spider
8+
C
9+
C c s 0 c 0 -s c s 0
10+
C -s c 0 * 0 1 0 * -s c 0
11+
C 0 0 1 s 0 c 0 0 1
12+
C
13+
C about Z about Y about Z
14+
C - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
15+
16+
DM(1) = CPHI * CTHE * CPSI - SPHI * SPSI
17+
DM(2) = SPHI * CTHE * CPSI + CPHI * SPSI
18+
DM(3) = - STHE * CPSI
19+
DM(4) = - CPHI * CTHE * SPSI - SPHI * CPSI
20+
DM(5) = - SPHI * CTHE * SPSI + CPHI * CPSI
21+
DM(6) = STHE * SPSI
22+
DM(7) = STHE * CPHI
23+
DM(8) = STHE * SPHI
24+
DM(9) = CTHE

INSTALL

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
Installing CSP
2+
--------------
3+
4+
1. Run the configuration script
5+
./configure.sh. /PATH/TO/FREALIGN/EXECUTABLE/frealign_v8.exe
6+
7+
This creates the ./bin/ folder, runs cmake to create the Makefile,
8+
and link the FREALIGN executable where CSP needed it.
9+
10+
2. Run ./make_csp.sh to build the framework, the executable is
11+
./bin/csp
12+
13+
3. Link the frealign executable frealign_v8.exe in the FREALIGN
14+
folder. See next section and read the output of the configure.sh
15+
16+
To run an experiment, set the configuration in parameters.config,
17+
prepare the data files and run it with run_csp_experiment.sh. Read
18+
README for more information.
19+
20+
21+
FREALING installation
22+
---------------------
23+
24+
The scripts to run FREALING are included in this release and are
25+
located in the ./frealign/ folder (${CSP_DIR}/frealign).
26+
27+
The scripts have variations with respect to their last version. I'd
28+
tried to reduce the amount of these variations to maintain "backwards
29+
compatibility". The main change is that SPA_DIR should be the folder
30+
where this folder, i.e. the folder where the CSP scripts are located,
31+
CSP_DIR as is referred in the README file.
32+
33+
In order to be able to run FREALING, CSP expected to find the
34+
executable in the ${CSP_DIR}/frealign folder. Then it must be linked
35+
or copied to this folder. The full path to the executable is given as
36+
the parameter to the configuration script.
37+
38+
Also CSP_DIR is redefined in the run_usp_experiment.sh and
39+
run_frealign_*.sh scripts. This is done automatically.

LICENSE

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
Copyright (c) 2023, Bartesaghi Lab
2+
3+
Redistribution and use in source and binary forms, with or without
4+
modification, are permitted provided that the following conditions are met:
5+
6+
1. Redistributions of source code must retain the above copyright notice, this
7+
list of conditions and the following disclaimer.
8+
9+
2. Redistributions in binary form must reproduce the above copyright notice,
10+
this list of conditions and the following disclaimer in the documentation
11+
and/or other materials provided with the distribution.
12+
13+
3. Neither the name of the copyright holder nor the names of its
14+
contributors may be used to endorse or promote products derived from
15+
this software without specific prior written permission.
16+
17+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
18+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
20+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
21+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
23+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
24+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
25+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

0 commit comments

Comments
 (0)