Drawing an off-axis parabolic mirror in pst-optexp and pst-optic











up vote
3
down vote

favorite












Having looked through the pst-optexp manual, it doesn't seem that there is a built-in off-axis parabolic mirror. I'm trying to make a diagram of a lab setup that goes like this:




  1. Collimated beam falls on a converging lens.


  2. The focal point of the lens is at the same point as the focal point of the OAP.


  3. OAP reflects a collimated beam at a 90 degree angle to the incident beam.











share|improve this question


















  • 1




    Welcome to TeX-SX. Can you tell us more about this thing since we are not all optics people. Best is to draw on a paper or on Paint and upload the picture to the question by editing it.
    – percusse
    Oct 2 '14 at 17:56










  • Have you tried using my solution? If you're having problems with it, I would be glad to here about it in order to get some feedback about this feature before integrating it in the main release :)
    – Christoph
    Oct 28 '14 at 10:51










  • @Christoph - Geez, I totally missed all of the replies to this post. I'll try implementing your solution over the weekend. percusse - An off-axis parabolic mirror is a mirror whose reflective surface is in the shape of a piece of a parabolic surface instead of a piece of a spherical surface. These are nice because they don't exhibit spherical abberations.
    – zmitchell
    Nov 18 '14 at 17:19















up vote
3
down vote

favorite












Having looked through the pst-optexp manual, it doesn't seem that there is a built-in off-axis parabolic mirror. I'm trying to make a diagram of a lab setup that goes like this:




  1. Collimated beam falls on a converging lens.


  2. The focal point of the lens is at the same point as the focal point of the OAP.


  3. OAP reflects a collimated beam at a 90 degree angle to the incident beam.











share|improve this question


















  • 1




    Welcome to TeX-SX. Can you tell us more about this thing since we are not all optics people. Best is to draw on a paper or on Paint and upload the picture to the question by editing it.
    – percusse
    Oct 2 '14 at 17:56










  • Have you tried using my solution? If you're having problems with it, I would be glad to here about it in order to get some feedback about this feature before integrating it in the main release :)
    – Christoph
    Oct 28 '14 at 10:51










  • @Christoph - Geez, I totally missed all of the replies to this post. I'll try implementing your solution over the weekend. percusse - An off-axis parabolic mirror is a mirror whose reflective surface is in the shape of a piece of a parabolic surface instead of a piece of a spherical surface. These are nice because they don't exhibit spherical abberations.
    – zmitchell
    Nov 18 '14 at 17:19













up vote
3
down vote

favorite









up vote
3
down vote

favorite











Having looked through the pst-optexp manual, it doesn't seem that there is a built-in off-axis parabolic mirror. I'm trying to make a diagram of a lab setup that goes like this:




  1. Collimated beam falls on a converging lens.


  2. The focal point of the lens is at the same point as the focal point of the OAP.


  3. OAP reflects a collimated beam at a 90 degree angle to the incident beam.











share|improve this question













Having looked through the pst-optexp manual, it doesn't seem that there is a built-in off-axis parabolic mirror. I'm trying to make a diagram of a lab setup that goes like this:




  1. Collimated beam falls on a converging lens.


  2. The focal point of the lens is at the same point as the focal point of the OAP.


  3. OAP reflects a collimated beam at a 90 degree angle to the incident beam.








pstricks pst-optexp






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Oct 2 '14 at 17:22









zmitchell

161




161








  • 1




    Welcome to TeX-SX. Can you tell us more about this thing since we are not all optics people. Best is to draw on a paper or on Paint and upload the picture to the question by editing it.
    – percusse
    Oct 2 '14 at 17:56










  • Have you tried using my solution? If you're having problems with it, I would be glad to here about it in order to get some feedback about this feature before integrating it in the main release :)
    – Christoph
    Oct 28 '14 at 10:51










  • @Christoph - Geez, I totally missed all of the replies to this post. I'll try implementing your solution over the weekend. percusse - An off-axis parabolic mirror is a mirror whose reflective surface is in the shape of a piece of a parabolic surface instead of a piece of a spherical surface. These are nice because they don't exhibit spherical abberations.
    – zmitchell
    Nov 18 '14 at 17:19














  • 1




    Welcome to TeX-SX. Can you tell us more about this thing since we are not all optics people. Best is to draw on a paper or on Paint and upload the picture to the question by editing it.
    – percusse
    Oct 2 '14 at 17:56










  • Have you tried using my solution? If you're having problems with it, I would be glad to here about it in order to get some feedback about this feature before integrating it in the main release :)
    – Christoph
    Oct 28 '14 at 10:51










  • @Christoph - Geez, I totally missed all of the replies to this post. I'll try implementing your solution over the weekend. percusse - An off-axis parabolic mirror is a mirror whose reflective surface is in the shape of a piece of a parabolic surface instead of a piece of a spherical surface. These are nice because they don't exhibit spherical abberations.
    – zmitchell
    Nov 18 '14 at 17:19








1




1




Welcome to TeX-SX. Can you tell us more about this thing since we are not all optics people. Best is to draw on a paper or on Paint and upload the picture to the question by editing it.
– percusse
Oct 2 '14 at 17:56




Welcome to TeX-SX. Can you tell us more about this thing since we are not all optics people. Best is to draw on a paper or on Paint and upload the picture to the question by editing it.
– percusse
Oct 2 '14 at 17:56












Have you tried using my solution? If you're having problems with it, I would be glad to here about it in order to get some feedback about this feature before integrating it in the main release :)
– Christoph
Oct 28 '14 at 10:51




Have you tried using my solution? If you're having problems with it, I would be glad to here about it in order to get some feedback about this feature before integrating it in the main release :)
– Christoph
Oct 28 '14 at 10:51












@Christoph - Geez, I totally missed all of the replies to this post. I'll try implementing your solution over the weekend. percusse - An off-axis parabolic mirror is a mirror whose reflective surface is in the shape of a piece of a parabolic surface instead of a piece of a spherical surface. These are nice because they don't exhibit spherical abberations.
– zmitchell
Nov 18 '14 at 17:19




@Christoph - Geez, I totally missed all of the replies to this post. I'll try implementing your solution over the weekend. percusse - An off-axis parabolic mirror is a mirror whose reflective surface is in the shape of a piece of a parabolic surface instead of a piece of a spherical surface. These are nice because they don't exhibit spherical abberations.
– zmitchell
Nov 18 '14 at 17:19










2 Answers
2






active

oldest

votes

















up vote
1
down vote













Version 5.1 of pst-optexp contains an off-axis parabolic mirror as oapmirror. You must specify three nodes to align the mirror properly: the input nodes, the center node, where the actual mirror center is placed, and the focal point.



Here is an example for a mirror which reflects by 90°:



documentclass[margin=5pt, pstricks]{standalone}
usepackage{pst-optexp}
begin{document}
begin{pspicture}(5,4)
pnodes(5,0.5){In}(1,0.5){C}(1,2){Focus}(1,4){Out}
addtopsstyle{Beam}{fillstyle=solid,fillcolor=green!40!white}
begin{optexp}
oapmirror(In)(C)(Focus)
lens[n=1.53](Focus)(Out)
drawwidebeam[beamwidth=0.5](In){-}(Out)
drawbeam[ArrowInside=->, ArrowInsidePos=0.2, arrowscale=3, arrowinset=0.3, linestyle=none](In){1}
end{optexp}
psdot(Focus)uput[0](Focus){focus}
end{pspicture}
end{document}


enter image description here






share|improve this answer























  • The other parameters for an OAP that would make sense would be the reflected focal length and the angle at which the reflected beam exits. From what I understand, that angle is 90 degrees in most cases (like what your solution shows here), but they are definitely also made with different exit angles. Here's a link to the specific model I'm using in my lab. On the right side of the page you can download the datasheets (one is a PDF) and look at all of the parameters: thorlabs.com/thorproduct.cfm?partnumber=MPD254254-90-F01
    – zmitchell
    Nov 18 '14 at 17:22


















up vote
1
down vote













is there a bug related to oapmirror? I've been trying to draw one in my experimental setup sketch without success. In fact, I tried to compile the code from Christoph and it didn't work.






share|improve this answer










New contributor




Ludwig Regalado is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.














  • 1




    Indeed, I couldn't make it work either. But not many people will see your question here. You'll stand better chances to get an answer if you ask a new question.
    – Phelype Oleinik
    2 hours ago










  • If you have a new question, please ask it by clicking the Ask Question button. Include a link to this question if it helps provide context. - From Review
    – naphaneal
    48 mins ago











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














 

draft saved


draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f204266%2fdrawing-an-off-axis-parabolic-mirror-in-pst-optexp-and-pst-optic%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
1
down vote













Version 5.1 of pst-optexp contains an off-axis parabolic mirror as oapmirror. You must specify three nodes to align the mirror properly: the input nodes, the center node, where the actual mirror center is placed, and the focal point.



Here is an example for a mirror which reflects by 90°:



documentclass[margin=5pt, pstricks]{standalone}
usepackage{pst-optexp}
begin{document}
begin{pspicture}(5,4)
pnodes(5,0.5){In}(1,0.5){C}(1,2){Focus}(1,4){Out}
addtopsstyle{Beam}{fillstyle=solid,fillcolor=green!40!white}
begin{optexp}
oapmirror(In)(C)(Focus)
lens[n=1.53](Focus)(Out)
drawwidebeam[beamwidth=0.5](In){-}(Out)
drawbeam[ArrowInside=->, ArrowInsidePos=0.2, arrowscale=3, arrowinset=0.3, linestyle=none](In){1}
end{optexp}
psdot(Focus)uput[0](Focus){focus}
end{pspicture}
end{document}


enter image description here






share|improve this answer























  • The other parameters for an OAP that would make sense would be the reflected focal length and the angle at which the reflected beam exits. From what I understand, that angle is 90 degrees in most cases (like what your solution shows here), but they are definitely also made with different exit angles. Here's a link to the specific model I'm using in my lab. On the right side of the page you can download the datasheets (one is a PDF) and look at all of the parameters: thorlabs.com/thorproduct.cfm?partnumber=MPD254254-90-F01
    – zmitchell
    Nov 18 '14 at 17:22















up vote
1
down vote













Version 5.1 of pst-optexp contains an off-axis parabolic mirror as oapmirror. You must specify three nodes to align the mirror properly: the input nodes, the center node, where the actual mirror center is placed, and the focal point.



Here is an example for a mirror which reflects by 90°:



documentclass[margin=5pt, pstricks]{standalone}
usepackage{pst-optexp}
begin{document}
begin{pspicture}(5,4)
pnodes(5,0.5){In}(1,0.5){C}(1,2){Focus}(1,4){Out}
addtopsstyle{Beam}{fillstyle=solid,fillcolor=green!40!white}
begin{optexp}
oapmirror(In)(C)(Focus)
lens[n=1.53](Focus)(Out)
drawwidebeam[beamwidth=0.5](In){-}(Out)
drawbeam[ArrowInside=->, ArrowInsidePos=0.2, arrowscale=3, arrowinset=0.3, linestyle=none](In){1}
end{optexp}
psdot(Focus)uput[0](Focus){focus}
end{pspicture}
end{document}


enter image description here






share|improve this answer























  • The other parameters for an OAP that would make sense would be the reflected focal length and the angle at which the reflected beam exits. From what I understand, that angle is 90 degrees in most cases (like what your solution shows here), but they are definitely also made with different exit angles. Here's a link to the specific model I'm using in my lab. On the right side of the page you can download the datasheets (one is a PDF) and look at all of the parameters: thorlabs.com/thorproduct.cfm?partnumber=MPD254254-90-F01
    – zmitchell
    Nov 18 '14 at 17:22













up vote
1
down vote










up vote
1
down vote









Version 5.1 of pst-optexp contains an off-axis parabolic mirror as oapmirror. You must specify three nodes to align the mirror properly: the input nodes, the center node, where the actual mirror center is placed, and the focal point.



Here is an example for a mirror which reflects by 90°:



documentclass[margin=5pt, pstricks]{standalone}
usepackage{pst-optexp}
begin{document}
begin{pspicture}(5,4)
pnodes(5,0.5){In}(1,0.5){C}(1,2){Focus}(1,4){Out}
addtopsstyle{Beam}{fillstyle=solid,fillcolor=green!40!white}
begin{optexp}
oapmirror(In)(C)(Focus)
lens[n=1.53](Focus)(Out)
drawwidebeam[beamwidth=0.5](In){-}(Out)
drawbeam[ArrowInside=->, ArrowInsidePos=0.2, arrowscale=3, arrowinset=0.3, linestyle=none](In){1}
end{optexp}
psdot(Focus)uput[0](Focus){focus}
end{pspicture}
end{document}


enter image description here






share|improve this answer














Version 5.1 of pst-optexp contains an off-axis parabolic mirror as oapmirror. You must specify three nodes to align the mirror properly: the input nodes, the center node, where the actual mirror center is placed, and the focal point.



Here is an example for a mirror which reflects by 90°:



documentclass[margin=5pt, pstricks]{standalone}
usepackage{pst-optexp}
begin{document}
begin{pspicture}(5,4)
pnodes(5,0.5){In}(1,0.5){C}(1,2){Focus}(1,4){Out}
addtopsstyle{Beam}{fillstyle=solid,fillcolor=green!40!white}
begin{optexp}
oapmirror(In)(C)(Focus)
lens[n=1.53](Focus)(Out)
drawwidebeam[beamwidth=0.5](In){-}(Out)
drawbeam[ArrowInside=->, ArrowInsidePos=0.2, arrowscale=3, arrowinset=0.3, linestyle=none](In){1}
end{optexp}
psdot(Focus)uput[0](Focus){focus}
end{pspicture}
end{document}


enter image description here







share|improve this answer














share|improve this answer



share|improve this answer








edited Nov 20 '14 at 22:28

























answered Oct 3 '14 at 13:01









Christoph

15.9k11444




15.9k11444












  • The other parameters for an OAP that would make sense would be the reflected focal length and the angle at which the reflected beam exits. From what I understand, that angle is 90 degrees in most cases (like what your solution shows here), but they are definitely also made with different exit angles. Here's a link to the specific model I'm using in my lab. On the right side of the page you can download the datasheets (one is a PDF) and look at all of the parameters: thorlabs.com/thorproduct.cfm?partnumber=MPD254254-90-F01
    – zmitchell
    Nov 18 '14 at 17:22


















  • The other parameters for an OAP that would make sense would be the reflected focal length and the angle at which the reflected beam exits. From what I understand, that angle is 90 degrees in most cases (like what your solution shows here), but they are definitely also made with different exit angles. Here's a link to the specific model I'm using in my lab. On the right side of the page you can download the datasheets (one is a PDF) and look at all of the parameters: thorlabs.com/thorproduct.cfm?partnumber=MPD254254-90-F01
    – zmitchell
    Nov 18 '14 at 17:22
















The other parameters for an OAP that would make sense would be the reflected focal length and the angle at which the reflected beam exits. From what I understand, that angle is 90 degrees in most cases (like what your solution shows here), but they are definitely also made with different exit angles. Here's a link to the specific model I'm using in my lab. On the right side of the page you can download the datasheets (one is a PDF) and look at all of the parameters: thorlabs.com/thorproduct.cfm?partnumber=MPD254254-90-F01
– zmitchell
Nov 18 '14 at 17:22




The other parameters for an OAP that would make sense would be the reflected focal length and the angle at which the reflected beam exits. From what I understand, that angle is 90 degrees in most cases (like what your solution shows here), but they are definitely also made with different exit angles. Here's a link to the specific model I'm using in my lab. On the right side of the page you can download the datasheets (one is a PDF) and look at all of the parameters: thorlabs.com/thorproduct.cfm?partnumber=MPD254254-90-F01
– zmitchell
Nov 18 '14 at 17:22










up vote
1
down vote













is there a bug related to oapmirror? I've been trying to draw one in my experimental setup sketch without success. In fact, I tried to compile the code from Christoph and it didn't work.






share|improve this answer










New contributor




Ludwig Regalado is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.














  • 1




    Indeed, I couldn't make it work either. But not many people will see your question here. You'll stand better chances to get an answer if you ask a new question.
    – Phelype Oleinik
    2 hours ago










  • If you have a new question, please ask it by clicking the Ask Question button. Include a link to this question if it helps provide context. - From Review
    – naphaneal
    48 mins ago















up vote
1
down vote













is there a bug related to oapmirror? I've been trying to draw one in my experimental setup sketch without success. In fact, I tried to compile the code from Christoph and it didn't work.






share|improve this answer










New contributor




Ludwig Regalado is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.














  • 1




    Indeed, I couldn't make it work either. But not many people will see your question here. You'll stand better chances to get an answer if you ask a new question.
    – Phelype Oleinik
    2 hours ago










  • If you have a new question, please ask it by clicking the Ask Question button. Include a link to this question if it helps provide context. - From Review
    – naphaneal
    48 mins ago













up vote
1
down vote










up vote
1
down vote









is there a bug related to oapmirror? I've been trying to draw one in my experimental setup sketch without success. In fact, I tried to compile the code from Christoph and it didn't work.






share|improve this answer










New contributor




Ludwig Regalado is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









is there a bug related to oapmirror? I've been trying to draw one in my experimental setup sketch without success. In fact, I tried to compile the code from Christoph and it didn't work.







share|improve this answer










New contributor




Ludwig Regalado is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this answer



share|improve this answer








edited 2 hours ago









Kurt

34.1k846156




34.1k846156






New contributor




Ludwig Regalado is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









answered 2 hours ago









Ludwig Regalado

111




111




New contributor




Ludwig Regalado is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Ludwig Regalado is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Ludwig Regalado is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








  • 1




    Indeed, I couldn't make it work either. But not many people will see your question here. You'll stand better chances to get an answer if you ask a new question.
    – Phelype Oleinik
    2 hours ago










  • If you have a new question, please ask it by clicking the Ask Question button. Include a link to this question if it helps provide context. - From Review
    – naphaneal
    48 mins ago














  • 1




    Indeed, I couldn't make it work either. But not many people will see your question here. You'll stand better chances to get an answer if you ask a new question.
    – Phelype Oleinik
    2 hours ago










  • If you have a new question, please ask it by clicking the Ask Question button. Include a link to this question if it helps provide context. - From Review
    – naphaneal
    48 mins ago








1




1




Indeed, I couldn't make it work either. But not many people will see your question here. You'll stand better chances to get an answer if you ask a new question.
– Phelype Oleinik
2 hours ago




Indeed, I couldn't make it work either. But not many people will see your question here. You'll stand better chances to get an answer if you ask a new question.
– Phelype Oleinik
2 hours ago












If you have a new question, please ask it by clicking the Ask Question button. Include a link to this question if it helps provide context. - From Review
– naphaneal
48 mins ago




If you have a new question, please ask it by clicking the Ask Question button. Include a link to this question if it helps provide context. - From Review
– naphaneal
48 mins ago


















 

draft saved


draft discarded



















































 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f204266%2fdrawing-an-off-axis-parabolic-mirror-in-pst-optexp-and-pst-optic%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Contact image not getting when fetch all contact list from iPhone by CNContact

count number of partitions of a set with n elements into k subsets

A CLEAN and SIMPLE way to add appendices to Table of Contents and bookmarks