Comments (1)
nominally swidth = aperture , that is correct. But not required for dophot.pl to return a correct result.
swidth can be selected as a different value than aperture and a valid value will be measured. swidth=aperture is a handy rule-of-thumb for doing photometry which works for our typical fields and source type. Your code looks correct and calls to phot need to pass both values, ossos pipeline just chooses to use the same value for both.
Keeping the 'swidth' and 'aperture' as separate attributes is a good design choice as the choice of making them equal could be changed during evaluation of the pipelines performance.
JJ
On 2013-07-03, at 3:30 PM, David Rusk wrote:
@ijiraq I found a note to myself to check with you about the apcor parameters being passed to daophot.py. Maybe you can take a quick look, specifically at the swidth property of the ApcorData class in https://github.com/drusk/MOP/blob/master/src/ossos-pipeline/ossos/gui/image.py
I did it this way based on our e-mail conversations while you were away, in which you said apcor files have the following format:
ap_in ap_out apcor apcor_err
numbers like
4 10 0.4 0.05
are normal.ap == ap_in
insky == ap_out+1
outsky == insky + ap_inYou then also said:
swidth = outsky - insky (if you look through the dophot.pl script there is likely a line someplace that says: outsky = ousky - insky ... poor choice of variable names).
Therefore I calculated that swidth = insky + ap_in - insky = ap_in.
But then swidth == aperature (both get passed to daophot)
Did I misinterpret something? If you can do a quick review of this it would be good.
—
Reply to this email directly or view it on GitHub.
from mop.
Related Issues (20)
- [track] comparison image url failing
- Merging and upgrade of scripts/cutout.py and scripts/postage_stamp_builder.py HOT 5
- [MOP] ephemtarget unable to handle multiple targets HOT 1
- temporary designation are wrong.
- [MOP] 'H' flag in comment area collecting MPCNotes to override photometry flag
- [website] better catch on images with no header
- [MOP] more extensive unit testing for .rep files
- [cands] copy to VOSpace failing
- timing for MegaCam HOT 4
- [MOP] parsing is loading object name as first designation instead of most recent designation HOT 1
- [MOP] better tracking of images lacking processing
- [cands] Image not showing in ds9 HOT 3
- Make new wide-band filter show as 'w' in MPC lines HOT 1
- [reals] [refactor branch] On_do_accept not completing task HOT 2
- [reals] [refactor branch] subsequent candidates not shown in certain circumstances
- [orbfit] Distance needs to update when predict made HOT 1
- [refactor branch] [track] on_accept crashing due to lack of marker HOT 1
- [refactor branch] [track] error when no unmeasured lines available HOT 2
- [track] Comparison image retrieval for non-OSSOS images
- [track] cutout size needs to exceed minimum skip distance of TNO movement in doubles 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 mop.