User Tools

Site Tools


pipeline:isac:sxisac2

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
pipeline:isac:sxisac2 [2019/04/02 10:33]
lusnig [See also]
pipeline:isac:sxisac2 [2020/08/19 16:39]
fschoenfeld
Line 92: Line 92:
   - The alignment shift parameters will be applied to the input data.   - The alignment shift parameters will be applied to the input data.
   - **IMPORTANT**: Input aligned images will be resized such that the original user-provided radius will be now target_radius and the box size target_nx + xr - 1.  The pixel size of the modified data is thus original_pixel_size * original_radius_size / target_radius.   - **IMPORTANT**: Input aligned images will be resized such that the original user-provided radius will be now target_radius and the box size target_nx + xr - 1.  The pixel size of the modified data is thus original_pixel_size * original_radius_size / target_radius.
-    * The pseudo-code for adjusting the size of the radius and the size of the images is as follows: +    * The pseudo-code for adjusting the size of the radius and the size of the images is as follows: <code> 
-    shrink_ratio = target_radius / original_radius_size +shrink_ratio   = target_radius / original_radius_size 
-    new_pixel_size = original_pixel_size shrink_ratio +new_pixel_size = original_pixel_size shrink_ratio 
-    if shrink_ratio is different than 1: resample images using shrink_ratio +new_box_size   = original_box_size * shrink_ratio 
-    * if new_pixel_size > target_nx : cut image to be target_nx in size +IF shrink_ratio =/= 1.0: resample images using shrink_ratio 
-    * if new_pixel_size < target_nx : pad image to be target_nx in size+IF new_box_size > target_nx : CUT image to be target_nx in size 
 +IF new_box_size < target_nx : PAD image to be target_nx in size</code>
     * The target_radius and target_nx options allow the user to finely adjust the image so that it contains enough background information.     * The target_radius and target_nx options allow the user to finely adjust the image so that it contains enough background information.
   - The program will iterate through generations of ISAC2 by alternating two steps. The outcome of these two steps is in subdirectory generation_*** (stars replaced by the current generation number).   - The program will iterate through generations of ISAC2 by alternating two steps. The outcome of these two steps is in subdirectory generation_*** (stars replaced by the current generation number).
pipeline/isac/sxisac2.txt · Last modified: 2020/08/19 16:40 by fschoenfeld