Comments (4)
SBProfile isn't totally self-consistent either (and it certainly isn't consistent with the LSST conventions we're loosely following, though I'm not suggesting that it should be).
I wouldn't recommend making changes deep within your source files; it's probably more important that HSM be similar to other incarnations of HSM elsewhere.
from galsim.
Here was my rationale (and let me pull @barnabytprowe into this conversation) -
It's true that SBP is not consistent with LSST conventions. So eventually if we have new code according to LSST conventions, SBP, and hsm code, we will have 3 conventions running around. Given that hsm is not a lot of code, I thought we could at least reduce it to 2 conventions to be slightly less annoying. Also, to clarify, I was not going to make tons of changes deep in the code. The changes I had in mind were mainly related to file naming conventions (e.g., Psfcorr.h instead of psfcorr.h) and classes (e.g. I have OBJECT_DATA whereas our class naming convention does not have all-caps, and for consistency with SBProfile, ObjectData would make more sense). These are pretty simple and would fix the most glaring things. SBProfile lacks internal consistency in naming conventions for functions, so I wasn't going to make any changes to those in my code either.
from galsim.
Can I add this to credo.txt:
" We will adopt the SBProfile capitalization style wherever sensible for code filenames, as it's by
far the most significant chunk of C/C++ we are currently using. This makes include/*.h files
capitalized. "
The Class name convention is covered broadly by the LSST style anyway...
from galsim.
Sounds good to me.
from galsim.
Related Issues (20)
- Should the `addNoise` method of CCDNoise return `sky / gain` not just `sky`? HOT 2
- Have GalSim support Windows installations. HOT 3
- ZeroDivisionError in ChromaticSum.drawImage HOT 1
- Factor out pupil sampling from `PhaseScreenPSF._shoot` HOT 5
- galsim 2.4.0 makes breaking change to public ImageView. HOT 3
- galsim.Aperture specified with a pupil_plane_im is 4 times slower than using galsim.Aperture parameters HOT 2
- HSM fails on Image constructed from flipped numpy array HOT 1
- Revisit use of spline LookupTable in SED class
- Add Quantity as a valid value_type in config HOT 1
- SBProfile::draw : Flux/imscale scaling questionable when full jacobian is provided. HOT 4
- drawFFT_finish vs image.calculate_inverse_fft HOT 1
- calculate_inverse_fft: _BoundsI ymax value? HOT 1
- drawFFT image type HOT 1
- Support filtering FITS in GalSim Catalogs HOT 2
- Moffat: maxK HOT 2
- Moffat: setupFT HOT 1
- Image simple galaxy sheared: Real_space vs FFT HOT 3
- pip install on Colab fails HOT 7
- Galsim Convolution vs scipy fftconvolve HOT 11
- Compile failure with conda compiler on macos HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from galsim.