User Tools

Site Tools


pipeline:utilities:sp_separate_class

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
pipeline:utilities:sp_separate_class [2019/09/12 16:43]
shaikh [Output]
pipeline:utilities:sp_separate_class [2019/12/12 09:47]
shaikh
Line 17: Line 17:
 The purpose of sp_separate_class.py is to:  The purpose of sp_separate_class.py is to: 
  
-  : extract particle-membership information from a stack of class averages +  : write particle-membership lists for each class 
-  : write particle-membership lists for each class, and +  : write separate stacks for each class, with an option to low-pass filter and/or downsample the images, and 
-  : write separate stacks for each class, with an option to low-pass filter and/or downsample the images+  : optionally compute eigenimages (basis images) for each class
  
 \\ __1. Standard usage: create separate stacks for each class__: \\ __1. Standard usage: create separate stacks for each class__:
Line 40: Line 40:
      
 If the input class averages are ordered_class_averages.hdf, the alignments applied to the ordered class averages will be applied to the particles. If the input class averages are ordered_class_averages.hdf, the alignments applied to the ordered class averages will be applied to the particles.
 +
 +\\ __5. Compute eigenimages (basis images) for each class__:
 +
 +  sp_separate_class.py input_class_avgs input_image_stack output_directory --align_isac_dir=isac_directory --nvec=number_of_factors
 +  
 +The additional output, stkeigen.hdf, will contain the average, variance, and the requested number of eigenimages.
  
 \\ \\
 ===== Input ===== ===== Input =====
 === Main Parameters === === Main Parameters ===
-  ; input_class_avgs : Set of 2D class averages, with particle-membership information in header. (default required string)+  ; input_class_avgs : Set of 2D class averages, with particle-membership information in header. (default required string)[{{ :pipeline:utilities:class084.png?400|Filtered particles of TcdA1 corresponding to class #9 below}}]
   ; input_image_stack : Particle image stack. (default required string)   ; input_image_stack : Particle image stack. (default required string)
   ; output_directory : Directory where outputs will be written. (default required string)   ; output_directory : Directory where outputs will be written. (default required string)
Line 59: Line 65:
 \\ \\
 ===== Output ===== ===== Output =====
-  ; classmap.txt : Class-to-particle lookup table, one file for all classes[{{ :pipeline:utilities:ordered_class_averages.png?400|ordered_class_averages.hdf of TcdA from ISAC}}]+  ; classmap.txt : Class-to-particle lookup table, one file for all classes[{{ :pipeline:utilities:ave_eig75-84.png?400|For each class (from left to right): average, variance, and 5 eigenimages}}]
   ; docclass???.txt : List of particles for each class, one file per class   ; docclass???.txt : List of particles for each class, one file per class
   ; params_combined.txt : (Optional) Combined particle alignment parameters   ; params_combined.txt : (Optional) Combined particle alignment parameters
Line 66: Line 72:
   ; stkclass_???.bdb : Virtual stacks of unaligned particles for each class   ; stkclass_???.bdb : Virtual stacks of unaligned particles for each class
   ; stkalign_???.bdb : (Optional) Virtual stacks of aligned and optionally filtered particles for each class   ; stkalign_???.bdb : (Optional) Virtual stacks of aligned and optionally filtered particles for each class
 +  ; stkeigen.hdf : (Optional) Montage of average, variance, and eigenimages
    
-[{{ :pipeline:utilities:stkalign_029.png?400|Montage of particles from class 29, using a filter radius of 0.05 px^-1}}]+
 \\ \\
  
Line 106: Line 113:
  
 \\ \\
- 
pipeline/utilities/sp_separate_class.txt · Last modified: 2020/01/31 11:38 by shaikh