Comments (8)
Just looking at those galaxies with positive weights doesn't help either.
from kv450imsim.
Hi @arunkannawadi, LensFit does not measure the magnitudes and should simply take, as an input, the measured mags from SExtractor's MAGAUTO column. I'm not understanding what you are trying to match tho? Are you trying to match the input mags from the sims to the CATMAG from LF output catalogue?
from kv450imsim.
Ok, that is helpful. What I did was the match the lensfit output catalogue to the SExtractor catalogue by matching the positions. And then, I compared the catmag and MAG_AUTO fields to find this difference.
I had to match it by positions because I wanted the SExtractor catalogue in FITS format, so I re-ran SExtractor on the image after the pipeline was finished. And I got a different number of objects. That is weird, and I will first look into that.
from kv450imsim.
@arunkannawadi you can simply match SExtractor and LF output catalogues by the Object ID. There is a direct 1-1 link between all items in the SExtractor catalogue and the LF output catalogue.
from kv450imsim.
The SExtractor catalogue in ASCII format has 61518 galaxies (so does the LensFit catalogue which reads this) whereas when I changed the config file to give me a FITS file and ran it outside the pipeline, I get 63163 objects in my catalogue. I double checked I provide the same inputs as the ones that pipeline.py provides.
from kv450imsim.
that is really strange, I would expect that ASCII output and the FITS output should remain consistent...
from kv450imsim.
I knew it had to be something stupid. I was feeding the WEIGHT_IMAGE but not the WEIGHT_TYPE :-/
Now I get the same number of detections and moreover, catmag and the input MAG_AUTO agree very well.
from kv450imsim.
@arunkannawadi great as long as that is working well :)
from kv450imsim.
Related Issues (3)
- lensfit version HOT 3
- Patch for PSF moments HOT 1
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 kv450imsim.