src/ExposureSun.cxx
inline int side_from_degrees(double pixelsize){ 
    int n = 1;
    while( 12*n*n < 41252/(pixelsize*pixelsize) && n < 512){
        n *=2;
    }
    return n; 
}
/// return the closest power of 2 for the side parameter
/// 41252 square degrees for the sphere
/// nside=64 is about one degee: 49152 pixels
return the closest power of 2 for the side parameter
41252 square degrees for the sphere
nside=64 is about one degee: 49152 pixels
return the closest power of 2 for the side parameter 41252 square degrees for the sphere nside = 64 is about one degee : 49152 pixels
inline int side_from_degrees(double pixelsize){ 
    int n = 1;
    while( 12*n*n < 41252/(pixelsize*pixelsize) && n < 512){
        n *=2;
    }
    return n; 
}
inline int side_from_degrees ( double pixelsize ) { int n = 1 ; while ( 12 * n * n < 41252 / ( pixelsize * pixelsize ) && n < 512 ) { n *= 2 ; } return n ; }
return the closest power of 2 for the side parameter
41252 square degrees for the sphere
nside=64 is about one degee: 49152 pixels
return the closest power of 2 for the side parameter 41252 square degrees for the sphere nside = 64 is about one degee : 49152 pixels