Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ConsistentlyInconsistentYT/Pixeltovoxelprojector
/ functions
Functions
43 in github.com/ConsistentlyInconsistentYT/Pixeltovoxelprojector
⨍
Functions
43
◇
Types & classes
1
↓ 14 callers
Function
clamp
(v, lo, hi)
PixelationDecensorer.py:131
↓ 4 callers
Function
scale
()
PixelationDecensorer.py:147
↓ 2 callers
Function
all_frames_done
(meta_file: Path)
blenderrestarteraftercrashing.py:24
↓ 2 callers
Function
box_sum_3
(img2d)
PixelationDecensorer.py:354
↓ 2 callers
Function
draw
(s)
PixelationDecensorer.py:155
↓ 2 callers
Function
dump_metadata
Write *meta* (list of dict) atomically to *path*.
blenderrenderscript.py:180
↓ 2 callers
Function
ensure_dir
(p)
PixelationDecensorer.py:130
↓ 2 callers
Function
first_center_k_at_or_after
(a0, phase, step)
PixelationDecensorer.py:457
↓ 2 callers
Function
to_gray_f32
(img_bgr)
PixelationDecensorer.py:133
↓ 1 callers
Function
apply_camera_pose
Push dict ➜ actual Blender camera transform.
blenderrenderscript.py:105
↓ 1 callers
Function
draw_window
(box, img, color=(0,255,255), thick=2)
PixelationDecensorer.py:137
↓ 1 callers
Function
ensure_camera_exists
Get or create a Blender camera object named *name*.
blenderrenderscript.py:51
↓ 1 callers
Function
extract_top_percentile_z_up
Extract the top 'percentile' bright voxels (or above 'hard_thresh'). We interpret the array shape as (Z, Y, X). index: voxel[z, y, x]
voxelmotionviewer.py:56
↓ 1 callers
Function
fill_grow_sum_count
(color_sum_f32, count_sum_f32, max_iters)
PixelationDecensorer.py:348
↓ 1 callers
Function
get_earth_position_icrs
Compute Earth's heliocentric position in ICRS coordinates for a given observation time. Parameters: - obs_time: Astropy Time object for
spacevoxelviewer.py:60
↓ 1 callers
Function
get_next_image_index
Scan 'folder' for files named like 'voxel_XXXX.png'. Find the largest XXXX as int, return that + 1. If none found, return 1.
voxelmotionviewer.py:141
↓ 1 callers
Function
get_observation_time
Extract the observation time (DATE-OBS, TIME-OBS) from a FITS file and return as an Astropy Time object. Parameters: - fits_file: Path t
spacevoxelviewer.py:99
↓ 1 callers
Function
get_telescope_pointing
Get the telescope's pointing direction from FITS header RA_TARG and DEC_TARG. Parameters: - header: FITS header containing RA_TARG and D
spacevoxelviewer.py:78
↓ 1 callers
Function
grid_phase_picker
(frame_bgr, cell_w=CELL_SIZE, cell_h=CELL_SIZE_Y, title="Click an intersection. W/S ±1 •
PixelationDecensorer.py:209
↓ 1 callers
Function
is_point_visible
Cheap test: does *point_xyz* fall inside the camera's view frustum? Horizontal FOV is stored in cam_info["fov"].
blenderrenderscript.py:73
↓ 1 callers
Function
launch_blender
(wrapper: Path)
blenderrestarteraftercrashing.py:62
↓ 1 callers
Function
load_metadata
(path)
blenderrenderscript.py:188
↓ 1 callers
Function
load_voxel_grid
Reads a voxel grid from a binary file with the following layout: 1) int32: N (size of the NxNxN grid) 2) float32: voxel_size 3)
voxelmotionviewer.py:28
↓ 1 callers
Function
main
()
blenderrestarteraftercrashing.py:72
↓ 1 callers
Function
main
()
blenderrenderscript.py:196
↓ 1 callers
Function
main
()
PixelationDecensorer.py:378
↓ 1 callers
Function
main
Main function: 1. Set up voxel grid and celestial sphere texture. 2. Find and process FITS files (one pass). 3. Analyze voxel grid, f
spacevoxelviewer.py:255
↓ 1 callers
Function
main
()
voxelmotionviewer.py:161
↓ 1 callers
Function
make_edge_ring_template
(img_bgr, box, ring=10)
PixelationDecensorer.py:307
↓ 1 callers
Function
make_wrapper
()
blenderrestarteraftercrashing.py:31
↓ 1 callers
Function
place_noise_objects
Duplicate *base_obj_name* around the camera FOV to add clutter.
blenderrenderscript.py:121
↓ 1 callers
Function
process_image
Process a single FITS image: - Compute Earth's position and telescope pointing. - Read and normalize image data. - Call the C++ funct
spacevoxelviewer.py:121
↓ 1 callers
Function
random_camera_pose
Return dict with random position, yaw, pitch, roll, fov (deg).
blenderrenderscript.py:61
↓ 1 callers
Function
random_visible_camera_pose
Try repeatedly until the target is inside the frustum.
blenderrenderscript.py:96
↓ 1 callers
Function
remove_objects
(objs)
blenderrenderscript.py:147
↓ 1 callers
Function
render_image
(cam, cam_idx, frame_idx, out_dir)
blenderrenderscript.py:169
↓ 1 callers
Function
rotation_matrix_xyz
Build a rotation matrix (3x3) for Euler angles (rx, ry, rz) in degrees, applied in X->Y->Z order. That is: R = Rz(rz) * Ry(ry) * Rx(rx)
voxelmotionviewer.py:99
↓ 1 callers
Function
set_render_distance
(camera_obj, clip_start=0.1, clip_end=3e7)
blenderrenderscript.py:115
↓ 1 callers
Function
setup_render
(out_dir, res_x, res_y, fmt)
blenderrenderscript.py:155
↓ 1 callers
Function
track_window_next
(frame_bgr, last_box, tmpl_edge_norm, search_margin=80, min_resp=0.25)
PixelationDecensorer.py:323
↓ 1 callers
Function
window_picker
(frame_bgr, title="Pick window (drag). ENTER accept • R reset • ESC cancel", max_w=1600, max
PixelationDecensorer.py:142
Method
build_extensions
(self)
setup.py:18
Function
on_mouse
(ev, x, y, flags, _)
PixelationDecensorer.py:167