Skip to content

Commit ae199ce

Browse files
authored
Merge branch 'devel' into olz_volume_consensus
2 parents 4d8b44a + 87f0096 commit ae199ce

File tree

5 files changed

+21
-21
lines changed

5 files changed

+21
-21
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
- tomo_calculate_landmark_residuals: to calculate residuals in TS
77
- tomo_detect_misalignment_residuals: to detect misalignment from residuals in TS
88
- batch_tomo_misalignment_resid_statistics: Python script to calculate statistical metrics from a set of residuals
9-
- tomo_tiltseries_detect_misalignment_corr: (legacy) for calculating relative shifts between tilt images, as a prealignment strategy
9+
- tomo_tiltseries_detect_misalignment_corr: (to legacy) for calculating relative shifts between tilt images, as a prealignment strategy
1010

1111
- Programs updated
1212
- Particle subtraction: now generates a single stack + includes noise power estimation
@@ -35,7 +35,7 @@
3535
- angular_continuous_assign2_gpu: Make a continuous angular assignment with GPU
3636
- cuda_fourier_projection
3737
- predict_deep_center
38-
- cl2d_clustering.py
38+
- cl2d_clustering
3939

4040
- Programs updated
4141
- tomogram_reconstruction: averaging with gold standard, tigre with internal interpolation, enviroment of tigre updated

installer/constants/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
# Other variables
7474
TAB_SIZE = 4
7575
SECTION_MESSAGE_LEN = 60
76-
TAG_BRANCH_NAME = 'v3.24.12.0-Poseidon'
76+
TAG_BRANCH_NAME = 'v3.25.06.0-Rhea'
7777

7878
# File names
7979
CONFIG_FILE = 'xmipp.conf'

installer/constants/versions.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@
2828
from .main import XMIPP, XMIPP_CORE, XMIPP_VIZ, XMIPP_PLUGIN
2929

3030
# Xmipp's current versions
31-
LATEST_RELEASE_NUMBER = '3.24.12.0'
32-
LATEST_RELEASE_NAME = 'v3.24.12.0-Poseidon'
33-
RELEASE_DATE = '23/12/2024'
31+
LATEST_RELEASE_NUMBER = '3.25.06.0'
32+
LATEST_RELEASE_NAME = 'v3.25.06.0-Rhea'
33+
RELEASE_DATE = '24/06/2025'
3434
#####################################
3535
DEVEL_BRANCHNAME = 'devel'
3636
MASTER_BRANCHNAME = 'master'

src/xmipp/bindings/python/envs_DLTK/xmipp_deepEMhancer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ channels:
66
- rsanchez1369
77
dependencies:
88
- python=3.10
9-
- deepemhancer>=0.16 #CUDA > 10 required. Drivers nvidia >= 450.80.02
9+
- deepemhancer=0.16 #CUDA > 10 required. Drivers nvidia >= 450.80.02
1010
- numba
1111
- h5py
1212
- libstdcxx-ng # To be compatible with scipion env

src/xmipp/libraries/reconstruction/angular_project_library.cpp

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -197,8 +197,9 @@ void ProgAngularProjectLibrary::project_angle_vector (int my_init, int my_end, b
197197
FileName fn_proj;
198198
int mySize;
199199
int numberStepsPsi = 1;
200+
const auto numberOfRotTilt = my_end-my_init+1;
200201

201-
mySize=my_end-my_init+1;
202+
mySize=numberOfRotTilt;
202203
if (psi_sampling < 360)
203204
{
204205
numberStepsPsi = (int) (359.99999/psi_sampling);
@@ -207,11 +208,6 @@ void ProgAngularProjectLibrary::project_angle_vector (int my_init, int my_end, b
207208

208209
if (verbose)
209210
init_progress_bar(mySize);
210-
int myCounter=0;
211-
212-
for (double mypsi=0;mypsi<360;mypsi += psi_sampling)
213-
for (int i=0;i<my_init;i++)
214-
myCounter++;
215211
// if (shears && XSIZE(inputVol())!=0 && VShears==NULL)
216212
// VShears=new RealShearsInfo(inputVol());
217213
if (projType == SHEARS && XSIZE(inputVol())!=0 && Vshears==nullptr)
@@ -222,16 +218,19 @@ void ProgAngularProjectLibrary::project_angle_vector (int my_init, int my_end, b
222218
maxFrequency,
223219
BSplineDeg);
224220

225-
for (double mypsi=0;mypsi<360;mypsi += psi_sampling)
221+
for (std::size_t psiIndex = 0; psiIndex < numberStepsPsi; ++psiIndex)
226222
{
227-
for (int i=my_init;i<=my_end;i++)
223+
double mypsi = psiIndex * psi_sampling;
224+
for (std::size_t i = 0; i < numberOfRotTilt; ++i)
228225
{
226+
const auto index = my_init + i;
227+
const auto n = psiIndex*numberOfRotTilt + i;
229228
if (verbose)
230-
progress_bar(i-my_init);
231-
232-
double psi= mypsi+ZZ(mysampling.no_redundant_sampling_points_angles[i]);
233-
double tilt= YY(mysampling.no_redundant_sampling_points_angles[i]);
234-
double rot= XX(mysampling.no_redundant_sampling_points_angles[i]);
229+
progress_bar(n);
230+
231+
double psi= mypsi+ZZ(mysampling.no_redundant_sampling_points_angles[index]);
232+
double tilt= YY(mysampling.no_redundant_sampling_points_angles[index]);
233+
double rot= XX(mysampling.no_redundant_sampling_points_angles[index]);
235234

236235
// if (shears)
237236
// projectVolume(*VShears, P, Ydim, Xdim, rot,tilt,psi);
@@ -247,9 +246,10 @@ void ProgAngularProjectLibrary::project_angle_vector (int my_init, int my_end, b
247246

248247
P.setEulerAngles(rot,tilt,psi);
249248
P.setDataMode(_DATA_ALL);
250-
P.write(output_file,(size_t) (numberStepsPsi * i + mypsi +1),true,WRITE_REPLACE);
249+
P.write(output_file, (n + 1), true, WRITE_REPLACE);
251250
}
252251
}
252+
253253
if (verbose)
254254
progress_bar(mySize);
255255
}

0 commit comments

Comments
 (0)