Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Custom refspace dimensions

Open
#47 2 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
data

Research direction

Start by locating the hardcoded refspace definition and the synchronization path that uses its micron bounds. Trace how coronal, transverse, and sagittal limits are applied, then verify that configurable limits prevent image regions from being cut off after synchronization.

Written by the indexing model from the issue text.

Description

We currently hardcode the respace to be (in microns). I guess because it is the canonical setup.

  refspace = (                                                                                                                                                                                                 
        ("coronal", (0, 13200),                                                                                                                                                                                                        
        ("transverse", (0, 8000),                                                                                                                                                                                                      
        ("sagittal",  (0, 11400),                                                                                                                                                                                                       
    )                    

The problem is that sometimes parts of images are cut off after synchronization. The cleanest solution is to just allow for dynamic resizing of the refspace. Something like.

  refspace = (                                                                                                                                                                                                 
        ("coronal", (c_max, c_min),                                                                                                                                                                                                        
        ("transverse", (t_min, t_max),                                                                                                                                                                                                      
        ("sagittal",  (s_min, s_max),                                                                                                                                                                                                       
    )                    
Dominant language
Python
Stars
17
Forks
8
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from BlueBrain/Atlas-Download-Tools

All issues in BlueBrain/Atlas-Download-Tools

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.