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
2
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























  • what error message you get? I have no problem with an up-to-date TeXLive 2018
    – Herbert
    Nov 28 at 6:38






  • 1




    Please don't use answer posts for comments. Note that you can't place comments to other posts yet, as you don't have enough reputation points. If you have a follow-up question feel free to ask a new question ("Ask Question" button above) or ask in the chat room. I will turn this into a comment on the original answer soon.
    – Martin Scharrer
    Nov 28 at 10:45













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
2
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
2
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
2
down vote










up vote
2
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























  • what error message you get? I have no problem with an up-to-date TeXLive 2018
    – Herbert
    Nov 28 at 6:38






  • 1




    Please don't use answer posts for comments. Note that you can't place comments to other posts yet, as you don't have enough reputation points. If you have a follow-up question feel free to ask a new question ("Ask Question" button above) or ask in the chat room. I will turn this into a comment on the original answer soon.
    – Martin Scharrer
    Nov 28 at 10:45

















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























  • what error message you get? I have no problem with an up-to-date TeXLive 2018
    – Herbert
    Nov 28 at 6:38






  • 1




    Please don't use answer posts for comments. Note that you can't place comments to other posts yet, as you don't have enough reputation points. If you have a follow-up question feel free to ask a new question ("Ask Question" button above) or ask in the chat room. I will turn this into a comment on the original answer soon.
    – Martin Scharrer
    Nov 28 at 10:45















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














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














share|improve this answer



share|improve this answer








edited Nov 27 at 22:03









Kurt

34.3k846157




34.3k846157










answered Nov 27 at 21:45









Ludwig Regalado

111




111












  • what error message you get? I have no problem with an up-to-date TeXLive 2018
    – Herbert
    Nov 28 at 6:38






  • 1




    Please don't use answer posts for comments. Note that you can't place comments to other posts yet, as you don't have enough reputation points. If you have a follow-up question feel free to ask a new question ("Ask Question" button above) or ask in the chat room. I will turn this into a comment on the original answer soon.
    – Martin Scharrer
    Nov 28 at 10:45




















  • what error message you get? I have no problem with an up-to-date TeXLive 2018
    – Herbert
    Nov 28 at 6:38






  • 1




    Please don't use answer posts for comments. Note that you can't place comments to other posts yet, as you don't have enough reputation points. If you have a follow-up question feel free to ask a new question ("Ask Question" button above) or ask in the chat room. I will turn this into a comment on the original answer soon.
    – Martin Scharrer
    Nov 28 at 10:45


















what error message you get? I have no problem with an up-to-date TeXLive 2018
– Herbert
Nov 28 at 6:38




what error message you get? I have no problem with an up-to-date TeXLive 2018
– Herbert
Nov 28 at 6:38




1




1




Please don't use answer posts for comments. Note that you can't place comments to other posts yet, as you don't have enough reputation points. If you have a follow-up question feel free to ask a new question ("Ask Question" button above) or ask in the chat room. I will turn this into a comment on the original answer soon.
– Martin Scharrer
Nov 28 at 10:45






Please don't use answer posts for comments. Note that you can't place comments to other posts yet, as you don't have enough reputation points. If you have a follow-up question feel free to ask a new question ("Ask Question" button above) or ask in the chat room. I will turn this into a comment on the original answer soon.
– Martin Scharrer
Nov 28 at 10:45




















draft saved

draft discarded




















































Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




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

How to send String Array data to Server using php in android

Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

Is anime1.com a legal site for watching anime?